Page 1 of 1

permissions of /home/storage

Posted: 08 Jan 2011, 15:23
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

Re: permissions of /home/storage

Posted: 08 Jan 2011, 15:42
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.

Re: permissions of /home/storage

Posted: 08 Jan 2011, 15:50
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

Re: permissions of /home/storage

Posted: 08 Jan 2011, 16:05
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!