Set chown and chmod in external HDD - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html) +--- Thread: Set chown and chmod in external HDD (/thread-414.html) Pages:
1
2
|
Set chown and chmod in external HDD - leonardo - 2010-10-31 Quote:Can you post the output of your "mount" and "df" commands at all?sure df: Code: Filesystem blocchi di 1K Usati Disponib. Uso% Montato su mount: Code: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota,grpquota) Set chown and chmod in external HDD - Dungeon-Dave - 2010-11-01 okay - it looks like it IS getting mounted with the correct UID/GID but commands to write to that filesystem aren't working. Try "ls -ald /backup" again, it should say admin:admin not root:root. Another option to try is "chown admin:admin /backup" - see if that changes permissions on the mount point Can you try listing some permissions of files/dirs lower down inside the /backup dir, see if those reflect admin:admin also? Set chown and chmod in external HDD - leonardo - 2010-11-01 mmm... if i type "#chown admin:admin /backup" the result is: Operation not permitted I'am login as root o_Oo_O if I type "#ls -ald /backup" the result is: drwxr-xr-x 7 root root 32768 27 ott 13:30 /backup [img]<___base_url___>/uploads/emoticons/default_mad.gif[/img][img]<___base_url___>/uploads/emoticons/default_mad.gif[/img][img]<___base_url___>/uploads/emoticons/default_mad.gif[/img] Set chown and chmod in external HDD - Dungeon-Dave - 2010-11-01 Quote:Can you try listing some permissions of files/dirs lower down inside the /backup dir, see if those reflect admin:admin also? Set chown and chmod in external HDD - leonardo - 2010-11-02 all dir and files have admin:admin if I login with admin and I try to create a dir o a file I have this error: Permission denied Set chown and chmod in external HDD - Dungeon-Dave - 2010-11-03 No idea, I'm afraid - I tried it with a USB pen of mine and it worked fine. No idea why it doesn't work on your system. Set chown and chmod in external HDD - leonardo - 2010-11-03 if I format the HDD with another type of partition? Set chown and chmod in external HDD - Dungeon-Dave - 2010-11-03 Erm.. not certain what you mean there. If you scrub the USB pen then create a Linux-based filesystem on it? (ext3/4, for instance) That would work. You probably need to install EXT2-IFS under Windows for Win-based OSen to see it. |