[X-Unix] chmod "just doesn't work" on /Volumes/OtherMac

Eric F Crist ecrist at secure-computing.net
Tue Jul 7 10:15:27 PDT 2009


It should work just fine.  Is the file system mounted read/write, or  
read only?  You can check the real status of a command with 'echo $?',  
if you get anything other than 0, there was a problem.

Eric

On Jun 26, 2009, at 6:19 AM, Jerry Krinock wrote:

> Am I incorrect in expecting that this should work, or did something  
> change in Mac OS X 10.5.7?
>
> In the session below, ls says that the permissions of a mounted disk  
> is 700, rwx------.  I change it using chmod to 777.  Output  
> indicates that it "did it" -- no error.  But then running ls again  
> shows that it is still 700.
>
> Jerrys-Mac-Mini:~ jk$ cd /Volumes
>
> Jerrys-Mac-Mini:Volumes jk$ ls -al
> total 8
> drwxrwxrwt@  6 root  admin   204 Jun 26 03:22 .
> drwxrwxr-x  71 root  admin  2482 Jun  5 22:30 ..
> lrwxr-xr-x   1 root  admin     1 Jun 24 20:31 JMiniHD -> /
> drwxrwxr-t  15 root  admin   578 May 16 10:03 JTimeHD
> drwx------  35 jk    staff  1146 Feb 24 13:58 Pb800HD
> drwxrwxr-x  13 root  admin   510 Jun  5 22:35 Spare
>
> Jerrys-Mac-Mini:Volumes jk$ chmod -v 777 Pb800HD
> Pb800HD
>
> Jerrys-Mac-Mini:Volumes jk$ ls -al
> total 8
> drwxrwxrwt@  6 root  admin   204 Jun 26 03:22 .
> drwxrwxr-x  71 root  admin  2482 Jun  5 22:30 ..
> lrwxr-xr-x   1 root  admin     1 Jun 24 20:31 JMiniHD -> /
> drwxrwxr-t  15 root  admin   578 May 16 10:03 JTimeHD
> drwx------  35 jk    staff  1146 Feb 24 13:58 Pb800HD
> drwxrwxr-x  13 root  admin   510 Jun  5 22:35 Spare
>
> Thank you,
>
> Jerry Krinock
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>

---
Eric Crist






More information about the X-Unix mailing list