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
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
permissions of /home/storage
Last edited by bolt on 08 Jan 2011, 15:42, edited 1 time in total.
Re: permissions of /home/storage
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.
Then make it 770.
Just an idea, I have not tried it myself.
Re: permissions of /home/storage
Thank you for this! That's the idea i needed
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

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
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!
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!