Remove files from /home/storage/downloads

Got problems with your B2 or B3? Share and get helped!
Post Reply
dumbo
Posts: 21
Joined: 09 Apr 2011, 15:54

Remove files from /home/storage/downloads

Post by dumbo » 18 Jun 2012, 05:35

I'm not able to remove any files from the directory /home/storage/downloads. I'm log on as 'admin', but I get no access.

Is it possible to logon as 'storage' or how do I remove this files?

Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Remove files from /home/storage/downloads

Post by Binkem » 18 Jun 2012, 07:28

As far as I know, /home/storage/downloads is not as a folder part of the normal B3 install. Did you create this folder yourself? or is it part of an installed package?

dumbo
Posts: 21
Joined: 09 Apr 2011, 15:54

Re: Remove files from /home/storage/downloads

Post by dumbo » 18 Jun 2012, 07:36

It's possible I have created this folder. But although I have created this it should be possible to remove it as 'admin'?

MaverikCH
Posts: 58
Joined: 09 Mar 2009, 15:03
Location: Bern, Switzerland
Contact:

Re: Remove files from /home/storage/downloads

Post by MaverikCH » 18 Jun 2012, 16:14

what do the access privileges over the file manager on bubba website say about the folder?
Location of File Manager and Acess Privilegs
Location of File Manager and Acess Privilegs
ScreenShot025.jpg (71.79 KiB) Viewed 8103 times

dumbo
Posts: 21
Joined: 09 Apr 2011, 15:54

Re: Remove files from /home/storage/downloads

Post by dumbo » 19 Jun 2012, 02:03

Everyone should be able to read and write.
downloads.jpg
downloads.jpg (45.71 KiB) Viewed 8087 times

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: Remove files from /home/storage/downloads

Post by nobody » 19 Jun 2012, 02:50

you are confusing windows permissions with unix permissions.
'admin' is just another user, with no elevated privileges when it comes to file management.
You need to be the user that created the files, or go the the shell and become root.

ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: Remove files from /home/storage/downloads

Post by ryz » 19 Jun 2012, 05:00

It is the permission on the /home/storage folder that decides who has rights to create and remove the folder /home/storage/downloads. The permission on the /home/storage/download folder only tells who can create files and folder inside the download folder.

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: Remove files from /home/storage/downloads

Post by nobody » 19 Jun 2012, 06:11

He wants to remove files INSIDE hom/storage/downloads, not the folder itself. For what he intends, looking at the permissions for /home/storage/downloads is the correct mode of action. Please read the OP more carefully.

Gordon
Posts: 1390
Joined: 10 Aug 2011, 03:18

Re: Remove files from /home/storage/downloads

Post by Gordon » 19 Jun 2012, 08:40

nobody wrote:He wants to remove files INSIDE hom/storage/downloads, not the folder itself. For what he intends, looking at the permissions for /home/storage/downloads is the correct mode of action. Please read the OP more carefully.
Well, yes and no. Since the default box does not have ACL active on /home and subfolders, the permissions on individual files do not necessarily have to follow those of the folder that they are in. While files that are written through Samba can be forcibly assigned a particular username, groupname and umask, any other portal or service can assign a non-Samba enabled username, a groupname that no Samba user belongs to and a umask that effectively either prohibits users to access the file completely or make it read-only.

So perhaps a feature request to allow admin user to grab ownership and reset rights on files? I'm actually stumped to find that admin is not also the Samba admin user.

Post Reply