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

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? So

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

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 |

chmod-ing a directory tree without effecting files

2003-10-22 Thread Thomas Smith
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? Tom -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Re: adding user with chmod 755

2003-09-08 Thread Benjamin J. Weiss
something I am missing here that would allow me to user useradd > > > and have it automatically set the new users home directory to 755 so that > > > it can be used by the web server without having to go back and chmod the > > > directory? I am using RedHat 9.0 and this woul

Re: adding user with chmod 755

2003-09-08 Thread Steve Buehler
ectory to 755 so that > it can be used by the web server without having to go back and chmod the > directory? I am using RedHat 9.0 and this would be done from the command > line, not Gnome. The command that you're looking for is umask. Check the man pages, the command is a bit backw

Re: adding user with chmod 755

2003-09-08 Thread Steve Buehler
At 12:24 PM 9/8/2003 -0500, Benjamin J. Weiss wrote: > Is there something I am missing here that would allow me to user useradd > and have it automatically set the new users home directory to 755 so that > it can be used by the web server without having to go back and chmod the > dire

Re: adding user with chmod 755

2003-09-08 Thread Benjamin J. Weiss
> Is there something I am missing here that would allow me to user useradd > and have it automatically set the new users home directory to 755 so that > it can be used by the web server without having to go back and chmod the > directory? I am using RedHat 9.0 and this would be d

adding user with chmod 755

2003-09-08 Thread Steve Buehler
Is there something I am missing here that would allow me to user useradd and have it automatically set the new users home directory to 755 so that it can be used by the web server without having to go back and chmod the directory? I am using RedHat 9.0 and this would be done from the command

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

]# chmod - operation not permitted

2003-08-14 Thread Herculano de Lima Einloft Neto
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 `Filmes' (requested: 0757, actual: 0755): Operation not permitt

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:

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
e its permission by root user >by giving the command >chmod 700 backup >its gives the following error >chmod: changing permissions of `backup': Operation not permitted man chattr If you do not know where this file came from, you should check to see if your machine has been

RE: chmod proble

2003-06-05 Thread Ziaur Rahman
ot; <[EMAIL PROTECTED]>: | 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 PROTECT

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

chmod proble

2003-06-05 Thread Ravi Narwade
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 giving the command chmod 700 backup its gives the following e

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

2002-10-21 Thread Blaq hacka
- Original Message - From: "vimol ksh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 1:39 PM Subject: chmod: changing permissions of `login': Operation not permitted > My machine has problem while trying to login through > tel

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

chmod permissions for project.

2002-10-13 Thread Ricky
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$, it's possible, how do we accomplish it in the

Re: chmod permissions for project.

2002-10-13 Thread Robert P. J. Day
directory? or that they can read the files *within* the directory? you should first read up on the "chmod" command and what it means for both files and directories before you go any further. rday -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list

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

2002-09-30 Thread vimol ksh
My machine has problem while trying to login through telnet. After analysis, I found /bin/login has 744 permission and 0 byte. I try to delete and change the mod to 755. It is giving message: [root@dbserver1 bin]# chmod 755 /bin/login chmod: changing permissions of `login': Operatio

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 log

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 ar

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 d

chmod on vfat

2002-09-01 Thread Doug
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 755. How ca

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 r

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
> >don't know how to do, is make that recursive. > > # chmod -R 2775 . > > Thereafter, that mode will propogate when a user creates a directory > below it, _if_ that user's umask is set appropriately. In this case, > you probably want it to be 002. by t

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 . Thereaf

chmod: sticky bit

2002-07-02 Thread daniel
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. someone out there wanna help me out? ___ Redhat-list mailing

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. > > Somethi

chmod on users address

2002-05-24 Thread Ted Gervais
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' and the use of 'S'. What I am trying to do is invoke a viewer application that needs me to be logged in as root.

changing chmod during adduser or useradd

2002-03-06 Thread Jim Bija
Is there a way by default or any way for that matter to change the users home dir permissions during adduser or useradd? It seems to default to 700 i want it to be 755. Im aware i can do it post adduser/useradd, just curious if its possible to do it by default, simular to changing the /etc/sk

chmod 6775

2002-01-17 Thread Chad and Doria Skinner
I have a web server setup so that users (Myself) can access the apache root through webdav and so the owner of the file needs to be apache. In order to allow multiple people to access the files I have created a group and placed the users in that group. Then I changed the ownership to 6775 so that

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 >

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

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

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"

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 {} \;

chmod

2000-10-31 Thread Deependra B. Tandukar
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 - From: Matthew Melvin <[EMAIL PROTECTED]> To: Dan Horth <[EMAIL PROTE

Re: What is the 't' option in chmod?

2000-08-28 Thread Nitebirdz
On Sun, 27 Aug 2000, Peter Kiem wrote: > Hi, > > I've got a directory that has permissions of drwxrwxrwt > > What exactly is the status described by the 't'? > It's the "sticky bit". Users can read and write to that directory, but they are not able to rename or remove files that do not belon

Re: What is the 't' option in chmod?

2000-08-27 Thread Ronald W. Heiby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sunday, August 27, 2000, 8:27:23 AM, Peter wrote: > I've got a directory that has permissions of drwxrwxrwt > What exactly is the status described by the 't'? The "t" bit was originally just for executable files, and was called the "sticky bit". It t

What is the 't' option in chmod?

2000-08-27 Thread Peter Kiem
Hi, I've got a directory that has permissions of drwxrwxrwt What exactly is the status described by the 't'? Regards, +---+-+ | Peter Kiem| E-Mail: <[EMAIL PROTECTED]> | | Zordah IT | Mobile: +61 0418 798 121

Re: [RedHat-List] why root cannot chmod on /home?

2000-01-27 Thread Cameron Simpson
On Tue, Jan 25, 2000 at 10:38:56PM -0600, Zaigui Wang wrote: | what will prevent root user from doing "chmod 0755 /home"? I just could | not do it! | My /home directory is defaulted to "0444". As a result, adduser | command failed to create a home direcotry for new users.

Re: why root cannot chmod on /home?

2000-01-25 Thread Michael H. Warfield
On Tue, Jan 25, 2000 at 10:38:56PM -0600, Zaigui Wang wrote: > what will prevent root user from doing "chmod 0755 /home"? I just could > not do it! Couple of possibilities... Why don't you give us the error message you got and we might take a better guess. With t

why root cannot chmod on /home?

2000-01-25 Thread Zaigui Wang
what will prevent root user from doing "chmod 0755 /home"? I just could not do it! My /home directory is defaulted to "0444". As a result, adduser command failed to create a home direcotry for new users. -- | Zaigui Wang | | www.cs.siu.edu/~wang| |

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

chmod....

1998-03-05 Thread BSR.Prasad Yelchuri
sorry if this message in reply to the query regarding' chmod' is toomuch for some the command 'chmod' allows to specify the permission one (owner) can impose on self,group,and public {u(ser),g(group,o(thers)} for the following action 4 read only 2 write only 1 e

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 :-

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

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

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 ac

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

CHMOD

1998-03-04 Thread Richard Simpkins
What does "chmod" mean and how do I make a file "chmod 777" i.e counter.pl and access_log and error_log TIA Rich -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /maili