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
-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
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
> 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
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
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
> 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
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
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
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
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
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
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$
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 logged in as a user i can write
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'
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
-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 .
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
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
-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
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
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
"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
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,
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]>
"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
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
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 :-} )
>
> Thanks
> JY LEBLIN
Basic
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
>>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
> 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
> 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
49 matches
Mail list logo