LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   write premission on mounted partition (https://www.linuxquestions.org/questions/linux-newbie-8/write-premission-on-mounted-partition-145315/)

trollman 02-12-2004 01:10 PM

write premission on mounted partition
 
Hello, i just installed Crossover Office, and i have a data partition on my windows harddrive. It hold my office PST file and and My documents and other stuff. The problem i am having is that i cant edit files that are on this shared partition. I dont want to copy the the files over to my linux hard drive because when i go over to windows i wont have the same files. i want Linux and Windows to share the same files.
Is their to make the files that are mounted belong to my user? To sum it up, i was to be able to edit files on this mounted partition. Thanks.

Karl

jailbait 02-12-2004 02:11 PM

"The problem i am having is that i cant edit files that are on this shared partition."

You did not mention what file system is used on the shared partition. If it is ntfs then the problem is that Linux treats ntfs as read only. If that is your problem then create a small vfat partition for the shared data. vfat can be read/write for both Windows and Linux.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

trollman 02-12-2004 03:54 PM

sorry, it is fat, here is my fstab file. Before i made the changes this was the premission of a file on the partition: rwxrwxr-x 1 root users; after i made the changes the premissions look like this: rwxrwxrwx 1 root users. But i still cant save changes i make to files.

jailbait 02-12-2004 06:30 PM

"sorry, it is fat, here is my fstab file. Before i made the changes this was the premission of a file on the partition: rwxrwxr-x 1 root users; after i made the changes the premissions look like this: rwxrwxrwx 1 root users. But i still cant save changes i make to files."

Your permissions are OK. It is possible for the corresponding entry in /etc/fstab to restrict access to less than what the permissions allow. Could you post your /etc/fstab?

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

trollman 02-13-2004 11:29 AM

sorry it took so long to respond, too much work to do, but anyway here is my fstab file:

/dev/hdb5 / reiserfs defaults 1 1

/dev/hda1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0

#/dev/hda5 /windows/D vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0

/dev/hda5 /windows/D vfat users,gid=users,umask=0000,iocharset=iso8859-1,code=437 0 0

This line that is commented out is the original line in the file. I can open files already on the partition, but can not save changes. I can create new files on the partition, and any changes i make to that file will save. :confused:

aaa 02-13-2004 01:20 PM

Did you remount to apply the changes?
mount -a -o remount

trollman 02-13-2004 04:25 PM

yes i did.

jailbait 02-13-2004 09:54 PM

"/dev/hda5 /windows/D vfat users,gid=users,umask=0000,iocharset=iso8859-1,code=437 0 0"

I checked the mount man pages and there is no mount option called code. Take a look at:
man mount
section:
Mount options for fat

I suggest that you experiment with the code=437 option in your fstab. Try changing it to codepage=437. You could also try removing ,code=437 from the entry.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

trollman 02-14-2004 10:20 AM

hey jailbait, thanks for the help. making the change from "code=437" to "codepage437" made the difference. i can now edit pre-existting files. :O) but sadly it really doesnt help now, the only reason i wanted to be able to do this was so i could run outlook using crossover office, and i just found out that it doesnt support office XP. oh well. Thanks for the help though.

Karl

jailbait 02-14-2004 12:53 PM

Go Hokies!

----------------------
Steve Stites
Class of 66

trollman 02-14-2004 04:14 PM

haha, thats awesome. Yea lets go hokies! :D


All times are GMT -5. The time now is 06:22 PM.