/dev/hda4 /mnt/winshare vfat umask=0022,iocharset=iso8859-1,codepage=850,user,rw,sync 0 0

The above is my entry for such a partition ~ the directory name being "winshare"

You appear to be attempting to name your partition before you even start :

ie. /dev/disk/by-label/WIN_LINUX is something new to me and too much I think.

Also, to be able to write to this partition I would recommend the above form as a guide.

Some systems need to be rebooted before this will take effect though not so common these days.

Try it and let us know how you got on.

Mike wrote:
I'm trying to automatically mount a shared Fat32 partition. I've edited the /etc/fstab and the filesystem mounts automatically. However, I can't write to it.

contents of my /etc/fstab:

/dev/disk/by-label/WIN_LINUX /mnt/Win_Linux_Shared_Folder/ vfat rw,auto,user,exec 0 0

I created the mount point directory as a user (see dir dump):

drwxr-xr-x  5 michael    michael    8192 Dec 31  1969 Win_Linux_Shared_Folder/

But when I reboot and this filesystem is mounted the owner and group are switch back to root.

How can I set this up so a user has write access?

Thanks in advance.



On Monday 16 October 2006 03:24, SnapafunFrank wrote:
Your first question: You cannot assign a mounted partition to normal
user ~ simply make another directory under the mounted directory and use
that until you understand permissions :
su
password:
mkdir /mnt/"your_mounted_name"/"another_name"
chown "your_user_name":"your_user_name"
/mnt/"your_mounted_name"/"another_name"

To be able to have your system mount this at bootup time you must
configure /etc/fstab
Simple open it as su with your favourite editor and match the entry for
this partition the same as a similar one that you can already access.

su
password:
vim /etc/fstab
<Press the letter "i" to enable editing and when finished press the
'Escape" key followed by typing " :wq" which will _w_rite the file and
then _q_uit the vi editor.>

As always, type stuff within the quotes ~ not the quotes themselves.

Hope this is of help.

Mike wrote:
I have successfully mounted a windows shared folder on my dual boot
WindowsXP and Mandriva 2007 system.  Here's what I did:

- cd /mnt
  su
  mkdir <whatever you want to call the mount point>

- mount /dev/<device>  /mnt/<the name you called the mount point>

Now the questions.

As a user, I can't write to the share, just read.  I've tried logging in
as root and changing the permissions.  Here's the share's permissions:

drwxr-xr-x  5 root root 8192 Dec 31  1969 Win_Linux_Shared_Folder/

How can I set this so any user has full control?

Secondly, will this mount be present automatically on reboot?  If not,
how do I accomplish this?

Thanks
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________
____________________________________________________
Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________



--
Newbie Seeking USER_FUNCTIONALITY always!
Regards
SnapafunFrank
Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213  [ http://counter.li.org ]
[img] http://www.danasoft.com/sig/Snapafun.jpg [/img]

____________________________________________________
Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to