Re: chmod-ing a directory tree without effecting files

2003-10-22 Thread Thomas Smith
Konrad Kosmowski wrote: On Wed, 22 Oct 2003 15:50:12 -0700, Thomas Smith <[EMAIL PROTECTED]> wrote: I need to chmod a directory tree to change the permissions on the directories but not the files they contain. Is there a way to do this with chmod or another tool? $ chmod -X Always r

Re: chmod-ing a directory tree without effecting files

2003-10-22 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 22 October 2003 06:50 pm, Thomas Smith wrote: > I need to chmod a directory tree to change the permissions on the > directories but not the files they contain. > > Is there a way to do this with chmod or another tool? Something like: find

Re: chmod-ing a directory tree without effecting files

2003-10-22 Thread Konrad Kosmowski
On Wed, 22 Oct 2003 15:50:12 -0700, Thomas Smith <[EMAIL PROTECTED]> wrote: > I need to chmod a directory tree to change the permissions on the > directories but not the files they contain. > Is there a way to do this with chmod or another tool? $ chmod -X Always read the f* manual first! man

RE: chmod-ing a directory tree without effecting files

2003-10-22 Thread Chad Skinner
> I need to chmod a directory tree to change the permissions on the > directories but not the files they contain. > > Is there a way to do this with chmod or another tool? You can try piping the output of find into the xargs command. For example, find /home/chadws/mythtv -type d | xargs chmod 2

Re: ]# chmod - operation not permitted

2003-08-16 Thread Sean Estabrooks
On Thu, 14 Aug 2003 17:20:30 -0300 Herculano de Lima Einloft Neto <[EMAIL PROTECTED]> wrote: > Sean Estabrooks wrote > > > The permissions will not change when you list them but if > > you just _try_ you'll see they aren't enforced either. > > A regular user will be able to create files in the d

Re: ]# chmod - operation not permitted

2003-08-14 Thread Keith Morse
On Wed, 13 Aug 2003, Herculano de Lima Einloft Neto wrote: > >Keith, in my post I thought I cleared the chattr possibility.. did > you miss that or is there another way to check? As for LIDS, it's > cleared.. no LIDS here.. > > Thanks, > > Oops, they were shots in the dark and I glossed

Re: ]# chmod - operation not permitted

2003-08-14 Thread Herculano de Lima Einloft Neto
Sean Estabrooks wrote: > for example: > > mount /dev/fd0 /mnt/floopy -odmask=0,rw > > should give you what you want. although you might need > one of the other mask options as well. I've tried the following: ]# mount /mnt/dev/hda5 -o remount,dmask=0,rw didn't work.. /etc/mtab is chang

Re: ]# chmod - operation not permitted

2003-08-14 Thread Herculano de Lima Einloft Neto
Sean Estabrooks wrote > The permissions will not change when you list them but if > you just _try_ you'll see they aren't enforced either. > A regular user will be able to create files in the directory. > Hey Herculano, > > dmask only applies to directories. depending on what you are trying >

Re: ]# chmod - operation not permitted

2003-08-14 Thread Herculano de Lima Einloft Neto
Sean Estabrooks wrote: > The permissions will not change when you list them but if > you just _try_ you'll see they aren't enforced either. > A regular user will be able to create files in the directory. > Well, although I didn't post it, here's my previous terminal screen: [EMAIL PROTECTED] l

Re: ]# chmod - operation not permitted

2003-08-14 Thread Sean Estabrooks
On Thu, 14 Aug 2003 16:45:10 -0300 Herculano de Lima Einloft Neto <[EMAIL PROTECTED]> wrote: > Sean Estabrooks wrote: > > > The permissions will not change when you list them but if > > you just _try_ you'll see they aren't enforced either. > > A regular user will be able to create files in the

Re: ]# chmod - operation not permitted

2003-08-14 Thread Sean Estabrooks
> > > Yes you're right.. So, how can I give a regular user write permissions on these > directories? There's > gotta be a way.. > Take a look at the vfat filesystem option "dmask" of mount for example: mount /dev/fd0 /mnt/floopy -odmask=0,rw should give you what you want. althoug

Re: ]# chmod - operation not permitted

2003-08-14 Thread Sean Estabrooks
On Thu, 14 Aug 2003 16:22:02 -0300 Herculano de Lima Einloft Neto <[EMAIL PROTECTED]> wrote: > Sean Estabrooks wrote: > > for example: > > > > mount /dev/fd0 /mnt/floopy -odmask=0,rw > > > > should give you what you want. although you might need > > one of the other mask options as well. [sn

Re: ]# chmod - operation not permitted

2003-08-14 Thread Herculano de Lima Einloft Neto
Keith Morse wrote: > But this file is on a fat32 partition? If so, I > don't you can modify attributes on vfat filesystems as you can with unix > type filesystems. Looking at > /usr/src/linux/Documentation/filesystems/vfat.txtseems to confirm > this, though not explicity. Yes you'

Re: ]# chmod - operation not permitted

2003-08-14 Thread Herculano de Lima Einloft Neto
Sean Estabrooks wrote: > Take a look at the vfat filesystem option "dmask" of mount > > for example: > > mount /dev/fd0 /mnt/floopy -odmask=0,rw > > should give you what you want. although you might need > one of the other mask options as well. The thing is.. as I see it, this only gives

Re: ]# chmod - operation not permitted

2003-08-14 Thread Herculano de Lima Einloft Neto
Keith, in my post I thought I cleared the chattr possibility.. did you miss that or is there another way to check? As for LIDS, it's cleared.. no LIDS here.. Thanks, -- Herculano de Lima Einloft Neto <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] htt

Re: ]# chmod - operation not permitted

2003-08-14 Thread Keith Morse
On Wed, 13 Aug 2003, Herculano de Lima Einloft Neto wrote: > Hello, I'm having trouble with this: > > [EMAIL PROTECTED] Herculano]# ls -ld Filmes > drwxr-xr-x2 root root16384 Aug 13 20:32 Filmes > [EMAIL PROTECTED] Herculano]# chmod o+w Filmes > chmod: changing permissions of `Fil

Re: ]# chmod - operation not permitted

2003-08-14 Thread Sean Estabrooks
> The thing is.. as I see it, this only gives me the option to mount the > whole filesystem rw (which already helps) .. but how could I change the > permission for that single file? > vFat does not support local security. That's why you can't set permissions per file in Windows 95/98. Linux i

Re: chmod proble

2003-06-06 Thread Anthony E. Greene
On 05-Jun-2003/14:36 +0530, Ravi Narwade <[EMAIL PROTECTED]> wrote: > >hi everybody >I am suffering from a small problem that I have a file with name 'backup' >its permission is >---x--1 root root 671 Jun 5 11:38 backup >when i tried to change its permission by root user >by

RE: chmod proble

2003-06-05 Thread Ziaur Rahman
Try this: > lsattr -d backup if you see something like this: i backup then you directory is immutable. You can chnge the (i) mode with: > chattr -i backup Regards, +---+ | Ziaur Rahman | PGP Key: 0x8B686E8E| | http

RE: chmod proble

2003-06-05 Thread Cannon, Andrew
Try copying the file, renaming it to backup1 and then altering the permissions on the copied file. It might work... Andrew -Original Message- From: Ravi Narwade [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 10:07 AM To: [EMAIL PROTECTED] Subject: chmod proble hi everybody I a

Re: chmod: changing permissions of `login': Operation not permitted

2002-10-21 Thread Blaq hacka
try lsattr /bin/login and make sure it is --- n and read some man pages on lsattr ... it i s what i was told to do .. i also had the same problem and please let me know if it works out fine ! i am yet to use the lsattr.. take care blaq hacka - Ori

Re: chmod permissions for project.

2002-10-13 Thread Ed Wilts
On Sun, Oct 13, 2002 at 04:38:32PM +0530, Ricky wrote: > one question for you... lets say i've three groups named x, y, z respectively. i've >a project named foo in /home/foo. now i want my foo directory to be read-only to one >group and write to the other and read-write to the third.. in M$, i

Re: chmod permissions for project.

2002-10-13 Thread Robert P. J. Day
On Sun, 13 Oct 2002, Ricky wrote: > Dear Tech Gurus, > > one question for you... lets say i've three groups named x, y, z > respectively. i've a project named foo in /home/foo. now i want my foo > directory to be read-only to one group and write to the other and > read-write to the third.. in M$

RE: chmod on vfat

2002-09-02 Thread Gordon Messmer
On Mon, 2002-09-02 at 07:36, Ciaron Gogarty wrote: > > Can someone point me in the right direction on how to enable the passing of > flags to the ethernet driver @ startup. > > Basically I want to script an interface to come up in promiscuous mode thru > a reboot. If you want to pass flags to t

RE: chmod on vfat

2002-09-02 Thread Ciaron Gogarty
ug To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: 02/09/02 14:24 Subject: Re: chmod on vfat thanks Leonard, setting the umask in fstab worked like a charm :) Doug - Original Message - From: "Leonard den Ottolander" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: S

Re: chmod on vfat

2002-09-02 Thread Doug
thanks Leonard, setting the umask in fstab worked like a charm :) Doug - Original Message - From: "Leonard den Ottolander" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 01, 2002 1:09 PM Subject: Re: chmod on vfat > Hi Doug, > >

Re: chmod on vfat

2002-09-01 Thread Leonard den Ottolander
Hi Doug, > i have 3 partitions that are formatted fat32 (w2k), I have fstab set to = > auto mount with defaults. the permissions by default are 755, when i try = to > chmod to 775 or 777 it doesn't change, it stays at 755. How can i = change them > so that when i'm logged in as a user i can write

Re: chmod on vfat

2002-09-01 Thread Lee
Lee wrote: > Doug wrote: > >> Hi all, >> >> i'm new to Linux. and have a question that is bugging me. >> >> i have 3 partitions that are formatted fat32 (w2k), I have fstab set >> to auto mount with defaults. the permissions by default are 755, when >> i try to chmod to 775 or 777 it doesn'

Re: chmod on vfat

2002-09-01 Thread Lee
Doug wrote: > Hi all, > > i'm new to Linux. and have a question that is bugging me. > > i have 3 partitions that are formatted fat32 (w2k), I have fstab set > to auto mount with defaults. the permissions by default are 755, when > i try to chmod to 775 or 777 it doesn't change, it stays at

Re: chmod: sticky bit

2002-07-02 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert P. J. Day wrote: >> >i understand that you can set the sticky bit on a directory so that >> >everything created in that directory will be set to that group, but what i >> >don't know how to do, is make that recursive. >> >> # chmod -R 2775 .

Re: chmod: sticky bit

2002-07-02 Thread daniel
right--only who is left. - bertrand russell - Original Message - Sent: Tuesday, July 02, 2002 12:18 PM Subject: Re: chmod: sticky bit | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | daniel wrote: | | >i understand that you can set the sticky bit on a directory so that | >ever

Re: chmod: sticky bit

2002-07-02 Thread Robert P. J. Day
On Tue, 2 Jul 2002, David Talkington wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > daniel wrote: > > >i understand that you can set the sticky bit on a directory so that > >everything created in that directory will be set to that group, but what i > >don't know how to do, is make

Re: chmod: sticky bit

2002-07-02 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 daniel wrote: >i understand that you can set the sticky bit on a directory so that >everything created in that directory will be set to that group, but what i >don't know how to do, is make that recursive. # chmod -R 2775 . Thereafter, that mode wi

Re: chmod on users address

2002-05-24 Thread Mike Burger
It's a little bit of both. It needs to be chown root, and it needs to be chmod u+s. On Fri, 24 May 2002, Ted Gervais wrote: > > Recently there was a note on what to enter when you wanted to get certain > things to work similar to being signed in as ROOT. > > Something to do with 'chmod' an

Re: chmod

2000-10-31 Thread Michael Burger
chmod -R On Wed, 1 Nov 2000 09:39:11 +0530, Deependra B. Tandukar wrote: >Dear All, > >I know, it can be done but forgot. > >I have a folder with many subfolders and files. I want to give all the files >chmod 755 and all the folders 777. Can any one help? > >regards >DT >- Original Message

Re: chmod

2000-10-31 Thread Tony Inskeep
"Deependra B. Tandukar" <[EMAIL PROTECTED]> said: > I have a folder with many subfolders and files. I want to give all the files > chmod 755 and all the folders 777. Can any one help? First you might want to make sure you *really* want to set world writable perms. There might be a better way t

Re: chmod

2000-10-31 Thread Dan Horth
uhm - find and xargs are your friends... find /path/to/your/folder -type f | xargs chmod -v 755 find /path/to/your/folder -type d | xargs chmod -v 777 that should do you... man find and man xargs for more info! Cheers, dan. At 9:39 AM +0530 1/11/00, Deependra B. Tandukar wrote: >Dear All,

Re: chmod

2000-10-31 Thread Jalal Hajiqolamali
hi, change directory to desired folder(directory) find . -type d -exec chmod 777 {} \; find . -type f -exec chmod 755 {} \; Best Regards Jalal Hajigholamali > From [EMAIL PROTECTED] Wed Nov 1 07:35:21 2000 > Delivered-To: [EMAIL PROTECTED] > From: "Deependra B. Tandukar" <[EMAIL PROTECTED]>

Re: chmod

2000-10-31 Thread Paul R. Brandariz
"Deependra B. Tandukar" wrote: > Dear All, > > I know, it can be done but forgot. > > I have a folder with many subfolders and files. I want to give all the files > chmod 755 and all the folders 777. Can any one help? files: find . -type f -exec chmod 755 {} \; folders: find . -type d

RE: CHMOD

1998-03-06 Thread Jaana Jarve
From: "Kevin W. Reed" <[EMAIL PROTECTED]> To: Jaana Jarve <[EMAIL PROTECTED]> >> ...can anyone think of a reason why someone would _want_ to keep >> their .profile chmod'ed to 666? >May not make any difference if their directory does not have permission >for anyone else to write to. Not very

RE: CHMOD

1998-03-06 Thread David . LANDGREN
>...can anyone think of a reason why someone would _want_ to keep >their .profile chmod'ed to 666? To let any other person on the host to insert whatever they thought said person should execute on startup: practical jokes (of questionable humour) come to mind. On a large system where you don't

Re: CHMOD

1998-03-05 Thread Jaana Jarve
Hi, and sorry for this silly question, but it has been buggin' me for a long time...and since the topic came up... ...can anyone think of a reason why someone would _want_ to keep their .profile chmod'ed to 666? netcat -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST A

Re: CHMOD

1998-03-05 Thread scarter
[EMAIL PROTECTED] wrote: > >Basically, the numeric method is a decimal representation of the binary > of the > > It's an octal representation, to be precise. > > DL You are right, of course, but how would that make a difference? -Steve. -- PLEASE read the Red Hat FAQ, Tips, Errata and the

RE: CHMOD

1998-03-05 Thread David . LANDGREN
>Basically, the numeric method is a decimal representation of the binary of the It's an octal representation, to be precise. DL -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To

Re: CHMOD

1998-03-05 Thread scarter
LEBLIN JY wrote: > Just if someone has time... > I've checked the man concerning chmod and i'm afraid the numeric method > is not very clear. If someone can just explain in clearer terms. > ( Sorry for my poor English, it makes a long time i haven't practise :-} ) > > Thanks > JY LEBLIN Basic

RE: CHMOD

1998-03-05 Thread LEBLIN JY
A 10:23 05/03/98 +0100, vous avez écrit : >>>chmod 777 counter.pl access_log error_log >> >>if I were you, I'd try not to use the numbers so much but rather the >>letters. ie... chmod a+rwx gives a=all the ability to r=read w=write >>x=execute, whereas chmod a-w would take the ability for all to

RE: CHMOD

1998-03-05 Thread David . LANDGREN
>>chmod 777 counter.pl access_log error_log > >if I were you, I'd try not to use the numbers so much but rather the >letters. ie... chmod a+rwx gives a=all the ability to r=read w=write >x=execute, whereas chmod a-w would take the ability for all to write. >I believe the commands are something li

Re: CHMOD

1998-03-04 Thread Brian
> What does "chmod" mean and how do I make a file "chmod 777" > chmod is a the command you use to set permissions on a file. If you do an ls -l you will see a listing of each files permissions. > i.e counter.pl and access_log and error_log chmod 777 counter.pl access_log error_log if I were

Re: CHMOD

1998-03-04 Thread Win Htin
> What does "chmod" mean and how do I make a file "chmod 777" "chmod" = change (permission) mode unless you own the file, as root do - chmod 777 filename but normally you don't want to give write access to everyone. If counter.pl is a perl script do chmod 755 counter.pl or chmod +x counter.pl