Tech Support > Operating Systems > Linux / Variants > Mount woes .... ?
Mount woes .... ?
Posted by Roberto Scardovi on February 5th, 2004


I have a notebook with dual XP and Debian with a shared
partition of type "vfat".

In linux I want it to be auto mounted rw for all
users. I put in /etc/fstab the line

/dev/hdc3 /mnt/shared vfat auto,users,exec 0 0

This way /mnt/shared is owned by root and permissions
can't be changed (becouse of vfat, I guess...)
to make the directory tree available to all.

I NEED IT TO BE RW FR ALL USERS. Any Idea ?

Logged in as non root user, I see as undefined all desktop
shortcuts relying on files in /mnt/shared becouse of the access
denied.

I can then (as non root user) umount/remount ("users" option in mount)
the partition and get it rw,
but the desktop icons are not refreshed upon request (this is a bug of
kde,
I suppose).

So I need one of these options working:

- automount from /etc/fstab or similar in rw for all (preferred)
- mount partition after a user is logged in BUT BEFORE THE DESKTOP is
composed to get /mnt/shared be owned by the current user and the
desktop icons be correctly displayed (I tried Xsession, /etc/profile,
) but no result

Any help appreciated

Roberto

Posted by Andreas Janssen on February 5th, 2004


Hello

Roberto Scardovi (<info@erzensoft.com>) wrote:

/dev/hdc3 /mnt/shared vfat umask=000,auto,exec 0 0

Read the mount man page for more info on umask, uid and gid.

best regards
Andreas Janssen

--
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976

Posted by Roberto Scardovi on February 5th, 2004


Nice !

I was a little bit lazy and missed the man pages
for specific filesystems ...

Thanx
Roberto

Andreas Janssen <andreas.janssen@bigfoot.com> wrote in message news:<bvt90d$h66$05$1@news.t-online.com>...


Similar Posts