LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shared Drive UNIX/Windows (https://www.linuxquestions.org/questions/linux-newbie-8/shared-drive-unix-windows-410269/)

lyar1031 02-01-2006 12:23 AM

Shared Drive UNIX/Windows
 
I created a 3 partitions on my drive.
Partition1: UNIX
Partition2: Shared
Partition3: Windows 2000

In unix the group and owner of my shared partition is root. I cannot copy any files to the shared partition when I am not root. When I try to use chmod 777 shared or use the chown and chgrp commands I get the error:
\chown: changing ownership of `Shared': Operation not permitted
\chgrp: changing ownership of `Shared': Operation not permitted

I get the a similiar error w/ chmod as well!!

ANy ideas?

Thanks

johndoe0028 02-01-2006 12:28 AM

Add 'user' and 'rw' to the Options part of that drive's entry in /etc/fstab

The Options column is the 4th from the left. They should be separated by commas, no spaces.

lyar1031 02-01-2006 01:21 AM

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda3 /home/Shared vfat auto,user,rw 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sda1 /mnt/usbstick vfat noauto,user,rw 0 0


Here is the copy of my fstab file!! However, I still get the same error!!

Thanks Again

brainiac 02-01-2006 09:29 AM

You may have to temporarily umount the partition to change the settings? It worked for me on one that was stubborn.


All times are GMT -5. The time now is 01:58 PM.