Newbie confused about chmod

Eric Blake eblake@redhat.com
Tue Feb 15 18:02:00 GMT 2011


On 02/15/2011 09:52 AM, hardya wrote:
> 
> Andrew Hardy@ANDREWHARDY ~/mywsn/LSU-SensorSimulator/samples
> $ ls -l Simulation
> -rw-r--r-- 1 Andrew Hardy Administrators 238835 Oct 28  2005 Simulation
> 
> Andrew Hardy@ANDREWHARDY ~/mywsn/LSU-SensorSimulator/samples
> $ chmod -v 666 Simulation
> mode of `Simulation' changed to 0666 (rw-rw-rw-)
> 
> Andrew Hardy@ANDREWHARDY ~/mywsn/LSU-SensorSimulator/samples
> $ ls -l Simulation
> -rw-r--r-- 1 Andrew Hardy Administrators 238835 Oct 28  2005 Simulation

Is this on a FAT or remote drive, perhaps?  FAT doesn't have
permissions, therefore cygwin fakes those permissions, and fakes chmod()
as success rather than an error, when it's really just a no-op on losing
file systems.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110215/7d6f14f3/attachment.sig>


More information about the Cygwin mailing list