Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-27-2002, 05:05 AM
|
#1
|
Member
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88
Rep:
|
RH 8.0 don't let me change attrib by chmod command
Hi all,
I am using RH 8.0, when I install it, I added a mount point to my FAT32 partition, can the mount point called "win_b"
I can read this partiton, but can't write by login as general user, only root can write to "win_b"
Then I login as root and then type the command
#chmod 777 /win_b
It show me than
chmod: changing permissions of `/mnt/win_b' (requested: 0777, actual: 0755): Operation not permitted
What is wrong on my RH 8.0??
|
|
|
10-27-2002, 06:18 AM
|
#2
|
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Rep:
|
You can't use chmod on a VFAT partition - so nothing is wrong with your RedHat! If you want others to be able to access the mounted partition check the manpage of mount:
Quote:
Mount options for fat
(Note: fat is not a separate filesystem, but a common part
of the msdos, umsdos and vfat filesystems.)
blocksize=512 / blocksize=1024 / blocksize=2048
Set blocksize (default 512).
uid=value and gid=value
Set the owner and group of all files. (Default: the
uid and gid of the current process.)
umask=value
Set the umask (the bitmask of the permissions that
are not present). The default is the umask of the
current process. The value is given in octal.
|
|
|
|
10-27-2002, 12:29 PM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,340
|
Add your VFAT partition to the /etc/fstab file. This will allow any user to write and it will mount on boot
/dev/hdxy /mnt/win_b vfat user,auto,umask=000 0 0
Change hdxy to your actual partition
|
|
|
All times are GMT -5. The time now is 05:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|