This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie confused about chmod


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]