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: chmod suddenly ceased to work on old files - NEW FINDINGS


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to FischRon.external@infineon.com on 6/28/2005 2:51 AM:
> When I create a new file, behaviour depends on how I create it:
> 
>    touch new_file1
>    chmod 0777 new_file1
> 
> => works fine.
> But when I open a text editor, from within the editor create the new
> file,
> exit the editor, and then do a chmod on the file, I get "Permission
> denied"
> again.

My quick guess is that ACLs are at work.  Compare the output of "getfacl
old new".  Actually posting the output of "ls -l", "stat", or "getfacl"
might be helpful here, so that others can look at the permissions as well.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCwUG484KuGfSFAYARAlSmAKC8B6s6vqA0Xk+METvFHHS4hboHqQCdEbLE
BB5c7c5FCBLZ1lj2YiowzNc=
=59oU
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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