New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

permissions of /home/storage

Got problems with your B2 or B3? Share and get helped!
Post Reply
bolt
Posts: 19
Joined: 07 Mar 2009, 13:56

permissions of /home/storage

Post by bolt »

Today i updated my trusty bubba2. With the new interface users can navigate within the file manager to my /home/storage folder (via /home in the path) and access all my files.

when i change permissions of /home/storage (chmod storage 700) mediatomb is no longer able to serve the files so this is not an option.

is it possible to avoid users accessing /home/storage('s subfolders)? (i believe this is called "jail" in FTP terms)

thx,
martijn
Last edited by bolt on 08 Jan 2011, 15:42, edited 1 time in total.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: permissions of /home/storage

Post by Cheeseboy »

Yes, make the ownership group mediatomb, and the rest of the people you want to keep out of it not members of that group.
Then make it 770.
Just an idea, I have not tried it myself.
bolt
Posts: 19
Joined: 07 Mar 2009, 13:56

Re: permissions of /home/storage

Post by bolt »

Thank you for this! That's the idea i needed :D

It works perfectly. (though not with chmod 760 but with 750). Within the file manager users get a nice "permission denied" and mediatomb works again.

cheers
martijn
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: permissions of /home/storage

Post by Cheeseboy »

Hah, that is what happens when you edit your posts.
What I wrote first was wrong, and what I changed it to was wrong too.

Luckily you could figure it out for yourself.
Glad I could be of help anyway!
Post Reply