Re: ls and chmod broken on Solaris 9 - ACL problem?

2005-03-16 Thread Tim Bishop
On Tue, 2005-03-15 at 14:54 -0800, Paul Eggert wrote: Tim Bishop [EMAIL PROTECTED] writes: We've discovered a bug in the ACL handling on Solaris 9. It noticably breaks ls and chmod. Thanks for reporting it. I can't reproduce the bug with Solaris 9 if I used coreutils test version 5.3.0

Re: ls and chmod broken on Solaris 9 - ACL problem?

2005-03-15 Thread Paul Eggert
Tim Bishop [EMAIL PROTECTED] writes: We've discovered a bug in the ACL handling on Solaris 9. It noticably breaks ls and chmod. Thanks for reporting it. I can't reproduce the bug with Solaris 9 if I used coreutils test version 5.3.0 ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.3.0.tar.gz, so

ls and chmod broken on Solaris 9 - ACL problem?

2005-03-14 Thread Tim Bishop
We've discovered a bug in the ACL handling on Solaris 9. It noticably breaks ls and chmod. Here are some details: deneb % uname -a SunOS deneb 5.9 Generic_117171-12 sun4u sparc SUNW,UltraAX-i2 deneb % coreutils/bin/ls --version ls (coreutils) 5.2.1 Written by Richard Stallman and David MacKenzie

chmod fails to ignore symbolic links during recursive directory transversals

2005-03-09 Thread Mark Brand
I hope I'm not making a fool of myself, but here we go: version: coreutils-5.2.1-3.rpm (from SuSE 9.2). Linux kernel 2.6.11.1. reiserfs. Quoting from the last paragraph of the DESCRIPTION chmod man page: However, for each symbolic link listed on the command line, chmod changes the permissions

Re: chmod changes ctime even if no changes were made

2004-09-24 Thread Paul Eggert
Hans Ecke [EMAIL PROTECTED] writes: Is there any way that chmod could first see if the requested status change has already been fulfilled, and skip files where it would not change anything? Offhand I don't see why not. POSIX allows this behavior. I can see that this would slow chmod down

chmod changes ctime even if no changes were made

2004-09-23 Thread Hans Ecke
Hi, I noticed that chmod changes the ctime of files, even if no permissions are actually changed. I ran into this because some maintenance scripts here run chmod -Rc ugoa+rX $directory every night for some directories that ought to be generally accessible. Unfortunately this also triggers

Re: chmod drwxrwxrwT

2004-08-21 Thread Philip Rowlands
On Fri, 20 Aug 2004, Mario Lombardo wrote: In the last triplet, a capital T isn't discussed on the man page. I know it's sticky, but it means something different from drwxrwxrwt. Where can I get more info on this? I'd like to learn. $ info coreutils 'Mode Structure' In addition to the

Re: chmod drwxrwxrwT

2004-08-21 Thread Bob Proulx
Mario Lombardo wrote: In the last triplet, a capital T isn't discussed on the man page. I know it's sticky, but it means something different from drwxrwxrwt. Where can I get more info on this? I'd like to learn. It actually means exactly the same thing there, it is still the sticky bit.

coreutils chmod int-bool cleanup

2004-07-29 Thread Paul Eggert
I installed the following minor int-bool cleanups for coreutils chmod. This doesn't fix any bugs. 2004-07-29 Paul Eggert [EMAIL PROTECTED] * lib/modechange.c: Include stdbool.h. (mode_compile): Use bool when appropriate. * src/chmod.c (recurse, force_silent

chmod feature request...

2004-01-25 Thread Jej
[Sorry if I post to the wrong email, I used the debian man page email] Hello, A nice feature to chmod command could be the possibility to specify a --dir-only flag to apply only directories perms. eg. chmod --dir-only g+x * would not set execute perms to files. This flag is less usefull

Re: chmod feature request...

2004-01-25 Thread Bob Proulx
Jej wrote: [Sorry if I post to the wrong email, I used the debian man page email] You have the right address. A nice feature to chmod command could be the possibility to specify a --dir-only flag to apply only directories perms. eg. chmod --dir-only g+x * would not set execute perms

Re: chmod

2003-12-04 Thread Paul Jarc
joe smith [EMAIL PROTECTED] wrote: chmod is suppose to have a switch call a+x according to sun, Sun's documentation describes Sun's chmod program, not GNU's. But they happen to share this feature anyway. but it appear to not have this switch. Works for me. $ ls -l foo -rw-r--r--1

chmod --wysiwyg

2003-09-22 Thread Dan Jacobson
Fellas, another flash, mental that is: How about a chmod format, oh WYSIWYG style: $ chmod --wysiwyg rw-rw-rw- file $ ls -l file -rw-rw-rw- 1 root root 9062 2001-06-17 10:55 file $ chmod --wysiwyg -rws--x--- file $ ls -l file -rws--x--- 1 root root 9062 2001-06-17 10:55 file excellent

Re: possible new feature for chmod

2003-08-14 Thread Alfred M. Szmidt
Because the same syntax is used in other places, e.g.: install -m %-rw-rw-r-- file directory mkdir -m %drwxr-xr-x directory and similarly for mkfifo and mknod. Cool, I didn't know this. Sorry, I didn't explain myself clearly enough. My idea

Re: possible new feature for chmod

2003-08-14 Thread Alfred M. Szmidt
Why not fix these problems by disambiguating the syntax? You can put a new character in front of the new-format mode strings. E.g., chmod %-rw-rw-r-- file Why not fix it with a seperate option instead (which this basicly is)? Say, --human-readable (maybe a short option could

Re: possible new feature for chmod

2003-08-14 Thread Paul Eggert
Alfred M. Szmidt [EMAIL PROTECTED] writes: Why not fix these problems by disambiguating the syntax? You can put a new character in front of the new-format mode strings. E.g., chmod %-rw-rw-r-- file Why not fix it with a seperate option instead (which this basicly

Re: possible new feature for chmod

2003-08-05 Thread Alfred M. Szmidt
. Since install, mkdir, mkfifo and mknod already use the above syntax, then I think its better to stay consitent with them and use the same for chmod. As for which one is clearer, no opinion there since I thought that the whole %MODE thing was just something new

Re: possible new feature for chmod

2003-08-05 Thread Paul Eggert
Alfred M. Szmidt [EMAIL PROTECTED] writes: Because the same syntax is used in other places, e.g.: install -m %-rw-rw-r-- file directory mkdir -m %drwxr-xr-x directory and similarly for mkfifo and mknod. Cool, I didn't know this. Sorry, I didn't explain myself clearly

possible new feature for chmod

2003-08-04 Thread Steve Summit
that chmod really ought to have; in fact, I don't know why I didn't think of it a long time ago. You really ought to be able to say, for example, chmod -rw-rw-r-- file where that mode string is obviously in the style of ls -l. This would be useful whenever you wanted to make one file's modes

Re: chmod g+w on directory causes script not to execute anymore

2003-06-01 Thread Bob Proulx
9:44:19 root ~markuschmod g+w test/ 9:44:25 root ~markuswhich chmod /bin/chmod 9:44:27 root ~markus Then I continue in the first terminal as user markus: 9:44:07 markus ~/testecho $USER markus 9:44:40 markus ~/testl .. | grep test drwxrwxr-x2 root users4096 May 29 20:44

chmod g+w on directory causes script not to execute anymore

2003-05-30 Thread Markus Wahl
I am experiencing the strangest problem. Performing `chmod g+w`on a directory causes a script inside it not to execute anymore. See: 20:48:31 markus ~/testecho $USER markus 20:48:32 markus ~pwd /home/markus 20:48:34 markus ~l | grep test drwxr-xr-x2 root users4096 May 29 20:44

feature request for chmod/chgrp/...

2003-02-20 Thread Tjabo Kloppenburg
hi, there's a feature I miss in chmod. I know the X flag for chmod, but I would like to set the permissions of files and directories (with subdirs) independently. Example: setting permissions of files to 660, of dirs to 664: chmod -R . -f 660 -d 774 I know the find utilitiy, but something

<    1   2   3   4   5