[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod problens
- To: <linux-il(at-nospam)linux.org.il>
- Subject: Re: chmod problens
- From: "Ermon (Eyal Sagi)" <security(at-nospam)magician.homeip.net>
- Date: Wed, 24 Oct 2001 15:11:28 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <01102415580600.27479@amiram2.md.huji.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
You need to use 'umask' in the mount options instead.
Check the mount (8) man-page.
(Basically, dos doesn't support access mode, so you can only control that
during mounting)
-Eyal
At 03:57 PM 10/24/2001, b wrote:
>Hi all!
>
>I have an AMD box with win98 and RH7.1 on it. When installing RH, I've
>mounted the c, d and e DOS partitions on /dos/c, /dos/d and /dos/e
>respectively. Naturally these partitions owned by root, and the world can
>only read them. I need to make them fully accessible to all the world. I
>mean: to give all the world wright, read, execute permitions on all the files
>that exist now on the c,d and e DOS partitions and all the files that will be
>created on them in the future. I've tried all of the following combinations
>(as root):
>chmod -R 777 /dos/
>chmod -R 777 /dos/*
>chmod -R 777 /dos/c ; chmod -R 777 /dos/d and chmod -R 777 /dos/e*
>chmod -R 777 /dos/c*; chmod -R 777 /dos/d* and chmod -R 777 /dos/e*
>
>I've also tried to replace 777 with a+rwx
>
>None of the commands worked
>
>What have I done wrong?
>
>After I achieve my goal, can I assure that all the new files created on these
>partitions (both created winthin Lin or win) will be fully accessable to all
>the world
>
>Thanks a lot!
>Boris Gorelik
>
>=================================================================
>To unsubscribe, send mail to linux-il-request@linux.org.il with
>the word "unsubscribe" in the message body, e.g., run the command
>echo unsubscribe | mail linux-il-request@linux.org.il
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il