problem chainging permission to file
guys, I have a partition on my main drive that I use for storage of docs, which I created under root, and I mount under /media/storage but now I'm trying to give another user rwx permision with
Code:
sudo chmod -R o+rwx /media/storage Code:
ls -l /media/storage Thanks |
Quote:
Code:
ls -l /media/storage Code:
ls -l /media jdk |
I got it fixed now, but my question is: if I wanted to give rwx permission to another user other than the owner of that file... is
Code:
sudo chmod o+rwx /file/file |
Quote:
Code:
chmod ug+rwx {file/folder name} cheers, jdk |
You can use ACLs to give finer controls to permissions. See the man pages for setfacl and getfacl.
You would need to give the user rx permissions on the directory for that user to be able to access a file inside. |
All times are GMT -5. The time now is 03:30 AM. |