Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the File-chmod CPAN distribution.

Report information
The Basics
Id: 65640
Status: rejected
Priority: 0/
Queue: File-chmod

People
Owner: Nobody in particular
Requestors: sharyanto [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.32
Fixed in: (no value)



Subject: Symbolic chmod "+w" doesn't work
$ touch file; ls -l file -rw-r--r-- 1 s1 s1 0 2011-02-11 16:07 file $ perl -MFile::chmod -E'File::chmod::chmod("+x", "file")'; ls -l file -rwxr-xr-x 1 s1 s1 0 2011-02-11 16:07 file* $ perl -MFile::chmod -E'File::chmod::chmod("+w", "file")'; ls -l file -rwxr-xr-x 1 s1 s1 0 2011-02-11 16:07 file* $ perl -MFile::chmod -E'say $File::chmod::VERSION' 0.32 $
On Fri Feb 11 04:08:28 2011, SHARYANTO wrote: Show quoted text
> $ touch file; ls -l file > -rw-r--r-- 1 s1 s1 0 2011-02-11 16:07 file > $ perl -MFile::chmod -E'File::chmod::chmod("+x", "file")'; ls -l file > -rwxr-xr-x 1 s1 s1 0 2011-02-11 16:07 file* > $ perl -MFile::chmod -E'File::chmod::chmod("+w", "file")'; ls -l file > -rwxr-xr-x 1 s1 s1 0 2011-02-11 16:07 file* > $ perl -MFile::chmod -E'say $File::chmod::VERSION' > 0.32 > $
Sorry, my bad for not reading the docs. It's because of $UMASK.
On Fri Feb 11 04:08:28 2011, SHARYANTO wrote: Show quoted text
> $ touch file; ls -l file > -rw-r--r-- 1 s1 s1 0 2011-02-11 16:07 file > $ perl -MFile::chmod -E'File::chmod::chmod("+x", "file")'; ls -l file > -rwxr-xr-x 1 s1 s1 0 2011-02-11 16:07 file* > $ perl -MFile::chmod -E'File::chmod::chmod("+w", "file")'; ls -l file > -rwxr-xr-x 1 s1 s1 0 2011-02-11 16:07 file* > $ perl -MFile::chmod -E'say $File::chmod::VERSION' > 0.32 > $
Sorry, my bad for not reading the docs. It's because of $UMASK.