Results 1 to 4 of 4
I have some mounted drives i am trying to change the ownership on, so they can be accessed on the LAN via NFS by someone other than root, but neither ...
- 04-07-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 1
chown/chmod operation not permitted
I have some mounted drives i am trying to change the ownership on, so they can be accessed on the LAN via NFS by someone other than root, but neither the volumes nor their sub-directories can be changed. I have tried to do it both by logging in as root as well as SU my personal account. This is the result I always get. Thanks in advance for any ideas.
debian:/# chown -v ryan:ryan /mnt/hdc1
failed to change ownership of `/mnt/hdc1' to ryan:ryan
chown: changing ownership of `/mnt/hdc1': Operation not permitted
debian:/# chmod -v 777 /mnt/hdc1
mode of `/mnt/hdc1' changed to 0777 (rwxrwxrwx)
debian:/# ls -l /mnt/
total 16
drwxr-xr-x 4 root root 16384 1969-12-31 17:00 hdc1
debian:/#
As you can see, chown just won't work, but the chmod doesnt give me any error messages, it just doesn't change the ownership..... I am stuck.
- 04-07-2006 #2
Check out the later posts in this thread.
Stand up and be counted as a Linux user!
- 08-19-2008 #3Just Joined!
- Join Date
- Aug 2008
- Posts
- 1
chown and chmod will work fine after this:
1. Check Your user's id (UID). For the example, mine is 1000 and used in 3.
2. Go to terminal and with root access edit /etc/fstab
sudo gedit /etc/fstab
3. Paste this utf8,umask=0000,uid=1000,gid=1000 in the <options> section, save and exit
4. In the terminal: sudo umount -a
5. In the terminal: sudo mount -a
- 08-19-2008 #4Linux User
- Join Date
- Feb 2006
- Posts
- 484
Do a reguler user who is logged in on the computert can access the drives?



