SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
I'm not sure I understand your question. Perhaps if you read this Quick and Dirty Guide to File Permissions first, then if you have any more questions, please post back. That guide was instrumental in helping me understand permissions, and I believe it will help you.
Windows does not have UNIX permissions. Therefore, you must set the permissions when mounting the partition (either through the fstab entry, or using -o with the mount command).
now only i saw tht ur partition was mounted on thth dir
so plz send the fstab entry how u entered it
if so i donthtink that u can change the permission by chmod it is there in the fstab entry 10, 00 like things
plz reply back
/mnt/work vfat auto,gid=100,user,umask=007 1 0 % 0 0 is ok
what about 0 0 and 0 1 entries i think both should be zeros here no dumb option, no need to backup tht partition
and also u didint mention which file sysem u have on /dev/hda fat32 or ntfs ?
is it possible to change permisssion through chmod to an fstab entry ? nope
uncomment that line in fstab and try manually mounting to some where (directory) in ur home directory and
check wether this works or not % or else it will tell it is already mounted
Quote:
But if I setup a new file in the "/mnt", I could change its permission.
it is similar to making a file in ur home dir ...
Quote:
By the way, "work" is a directory which I mounted a section of my windows part.
what windows part .........here it looks like a winblows drive (c:, d: etc) is it fat32 or ntfs
do root can change the files in /mnt/work
%%%%%%%%%%comment on cd drive and floppy
i hopw u also have some problem with cd drive too %cant mount write etc...
You can find more info about it on fstab and mount man pages. To reach them type:
Code:
man fstab
and:
Code:
man mount
Basically the options means:
- gid=100 - Make the mounted device to be owned by group id 100 (users).
- user - Allow any user to mount the device and allow him to umount it.
- umask=000 - Give permissions for read,write,execute to owner,group and others.
- 1 means that the filesystem should be dumped by some backup/restore programs. Set that to 0, my mistake as stated by rkrishna
- 0 (in the last field) means that the filesystem shouldn't be checked by fsck.
SLack 10.1
115GB IBM /dev/hda (windoze) ntfs
160GB WD /dev/hdb (Slack) Linux partition
40GB Maxtor /dev/hde (personal) ntfs
my problem is writing to the Maxtor; not even a text file will write to it! I use it to share my files between the operating systems.
I cannot reset the permissions on this drive;
tells me the location is read only. Then I found the "no write" to ntfs info.
Would making it FAT32 fix this and still act right in BOTH operating systems?
THanks. I had to scour the 'net to find that little trinket of info.
Dyn0myt3
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.