[...] > [EMAIL PROTECTED]:~$ ls -la /sda1 > total 4908 > drwxr-xr-x 14 root root 16384 Jan 1 1970 . > drwxr-xr-x 37 root root 4096 Jan 11 16:19 .. > -rwxr-xr-x 1 root root 6148 Jan 10 13:56 .DS_Store > drwxr-xr-x 2 root root 2048 Nov 23 12:27 .Trash-swe > . > . > . > -rwxr-xr-x 1 root root 180 Jan 11 15:59 hints > . > . > . > [EMAIL PROTECTED]:~$ sudo mount /dev/sda1 /sda1 > [EMAIL PROTECTED]:~$ sudo chown -R swe /sda1 > chown: changing ownership of `/sda1': Operation not permitted > chown: changing ownership of `/sda1/.Trashes': Operation not permitted > chown: changing ownership of `/sda1/macintosh.pdf': Operation not permitted > . > . > . > chown: changing ownership of `/sda1/hints': Operation not permitted > . > . > . That seems strange to me, what filesystem is it? The only thing I could imagine is that the filesystem doesn't support the operation - VFAT?
> [EMAIL PROTECTED]:~$ cat >>/sda1/hints > bash: /sda1/hints: Permission denied > [EMAIL PROTECTED]:~$ sudo cat >>/sda1/hints > bash: /sda1/hints: Permission denied > [EMAIL PROTECTED]:~$ su - > Password: > LinuxPPC:~# cat >>/sda1/hints > > The user swe has the same group as root (0). > What's going on here? > I think that's pretty much ok. "sudo cat >>/sda1/hints" will run cat as root, but ">>/sda1/hints" is interpreted by your shell, running as swe... And, as listed above, the group swe is a member of (0) doesn't have priveledges to write to the file. HTH, Michael
signature.asc
Description: Digital signature