Root unable to change ownership and modify permissions
M Thomason
matt at warpedcore.net
Tue Apr 20 05:16:45 UTC 2010
On 20/04/2010 6:06 AM, I Am Me wrote:
> Hi Guys,
>
> I am trying to change the ownership and permissions on a directory using the root login
> and am not able to do it. Here is what I have been trying :
>
> root at thishost:~# whoami; ls -ld /media/Andrew/Protected/Projects/
> root
> drwxrwxrwx 1 root root 4096 2010-04-05 09:52 /media/Andrew/Protected/Projects/
> root at thishost:~# chown -R iamme /media/Andrew/Protected/Projects/
> root at thishost:~# ls -ld /media/Andrew/Protected/Projects/
> drwxrwxrwx 1 root root 4096 2010-04-05 09:52 /media/Andrew/Protected/Projects/
> root at thishost:~# chmod 755 /media/Andrew/Protected/Projects/
> root at thishost:~# ls -ld /media/Andrew/Protected/Projects/
> drwxrwxrwx 1 root root 4096 2010-04-05 09:52 /media/Andrew/Protected/Projects/
> root at thishost:~#
>
> I don't know If I am missing something very insignificant, and if yes I am not able to catch it
>
>
Is /media/Andrew by any chance a removable disk/USB device? (making the
assumption due to it being mounted in /media) - if so, have you checked
how it is mounted, and that it is formatted with a filesystem which
supports permissions - I'm almost tempted to ask if it is a FAT32 memory
stick or a windows partition, but wouldn't want to unintentionally
insult you ;)
Either way, would help to know how /media/Andrew is mounted
More information about the ubuntu-users
mailing list