chocobanana Posted December 19, 2004 Report Share Posted December 19, 2004 Greetings I wanted to change permissions for my mounted windows partitions, but I haven't so far been successful with it. When the partitions are unmounted, I can change the permissions as root without problems. However, when they are mounted and I try to modify them, even as root, it says I don't have privileges. I also tryed to change its permissions via the mandrake control center, but without any luck. Can someboy help? I'm using Mandrake 10.1 oe Thanks Quote Link to comment Share on other sites More sharing options...
arctic Posted December 19, 2004 Report Share Posted December 19, 2004 how about showing us your /etc/fstab file? ;) Quote Link to comment Share on other sites More sharing options...
chocobanana Posted December 19, 2004 Author Report Share Posted December 19, 2004 here it is: /dev/hda6 / ext3 defaults 1 1 /dev/hdb2 /home reiserfs notail 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 /dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0 /dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-15,ro 0 0 none /proc proc defaults 0 0 /dev/hda8 /tmp reiserfs notail 1 2 /dev/hda7 /usr ext3 defaults 1 2 /dev/hda10 /var ext3 defaults 1 2 /dev/hda9 swap swap defaults 0 0 Thanks for your interest Quote Link to comment Share on other sites More sharing options...
Havin_it Posted December 19, 2004 Report Share Posted December 19, 2004 You can edit this file to make win_c writeable, but I would advise against it. NTFS is not supported by Linux very well - it can read fine, but writing is very risky. And remember, if you mess it up, you cannot reinstall Windows without reinstalling Linux too - Windows will overwrite your boot-loader. You seem to have plenty of partitions - have you room for one more? If so, I suggest squeezing in another partition, making it FAT32 which is fully functional for both OSes. I've always done my partitioning prior to installing Mandrake, so I can't tell you the best way to go about this. Maybe one of our resident HD experts can step in? Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 20, 2004 Report Share Posted December 20, 2004 In other words DONT make your NTFS/C partition writeable. A linux NTFS write *will* destroy it. Quote Link to comment Share on other sites More sharing options...
arctic Posted December 20, 2004 Report Share Posted December 20, 2004 i second that. if those were vfat partitions, the whole thing would be different. the best solution would be to create a vfat partition for accessing files from both linux and winxp Quote Link to comment Share on other sites More sharing options...
chocobanana Posted December 20, 2004 Author Report Share Posted December 20, 2004 Hi Thanks for all the replyies I think you are all misunderstanding what I want do I don't want to change permissions for the files inside the ntfs partition, and neither do want to modify its contents. I simply want to restrict the access (for viewing and reading at least) to that partition to some of the users of this machine. For example, user A and D (or group 1) could view and read its contents and user B, C and E (group 2) couldn't do a thing with it. If anybody can give me a hint at this I would be grateful Thanks Quote Link to comment Share on other sites More sharing options...
Havin_it Posted January 2, 2005 Report Share Posted January 2, 2005 I'm not sure how safe this is, but the basic would be chown root:group1 /mnt/win_c (give ownership to group1) chmod g+r /mnt/win_c (allow group1 to read) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.