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
-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
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
> 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 |
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
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
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
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
> 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
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
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
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
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
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
>
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
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
>
>
> 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
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
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'
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
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
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
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:
> 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
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
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
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
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
- 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
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
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
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
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
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
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
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,
>
>
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
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
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
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
-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
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
> >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
-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
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
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
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.
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
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
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
>
"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
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
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"
"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 {} \;
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
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
-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
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
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.
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
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|
|
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
>...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
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
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
[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
>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
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 :-
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
>>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
> 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
> 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
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
73 matches
Mail list logo