Results 1 to 4 of 4
Hello,
I want to give a mounted folder /mnt/folder
access so that 'root and the group test have read write access'
and all other users have read access
I understand ...
- 10-28-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
chmod question
Hello,
I want to give a mounted folder /mnt/folder
access so that 'root and the group test have read write access'
and all other users have read access
I understand most of the chmod command, the users groups world etc
but where in the 'command' do you specify which 'group' or 'user' you are
giving the read / write access to? in all the tutorials i've seen no where do you specify the actual group or user.
- 10-28-2010 #2
Have a look at
Code:man chown
You must always face the curtain with a bow.
- 10-30-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 11
Agree with irithori, you have to change the ownership of that folder to root and its usergroup. chown (file/foldername) (user)
- 11-03-2010 #4Just Joined!
- Join Date
- Nov 2010
- Location
- Indonesia
- Posts
- 3
first check its owner and permission using ls -l
then sudo chown test:test -R /mnt/folder (this will change the owner and group into test)
then probably sudo chmod 766 -R /mnt/folder
normally owner of file have access to change its permission. CMIIW, anyone who upload or create the file will be the first owner of its file. check file owner and permission using ls -l. then change to whoever you want using root access


Reply With Quote
