how to mount a vfat filesystem with mod 777 ?
Imagine the following situation: - computer 1 has linux running and there is a vfat partition mounted - computer 1 is running samba on that vfat partition (i.e. the vfat partition is a share of samba) - computer 2 wants to have write acces on the samba share The problem is, that computer 2 has no write acces, because the vfat partition is mounted 755. The samba.conf file is the following: [public] comment = Schreibbares Verzeichnis path=/home/sure/netzwerk/public public=yes readonly=no browseable=yes create mask=777 How can I make the partition mounted as mod 777 ? Thanks in advance ! Ulrich Schneider
This sounds a little tricky. One problem is that vfat partitions don't have any "real" permissions. The way you have the samba share coded below with "public=yes" means samba will use the guest user "Nobody" to access the vfat files. If you have the vfat partition mounted at boot time in /etc/fstab, then it was mounted by root. You might try changing /etc/fstab to add the "user" option to the vfat partition, then mount it as user "Nobody". Then, the samba public user should be able to write to it. Regards, Keith --- Ulrich Schneider <listen@ulrichschneider.de> wrote:
Imagine the following situation:
- computer 1 has linux running and there is a vfat partition mounted - computer 1 is running samba on that vfat partition (i.e. the vfat partition is a share of samba) - computer 2 wants to have write acces on the samba share
The problem is, that computer 2 has no write acces, because the vfat partition is mounted 755.
The samba.conf file is the following: [public] comment = Schreibbares Verzeichnis path=/home/sure/netzwerk/public public=yes readonly=no browseable=yes create mask=777
How can I make the partition mounted as mod 777 ? Thanks in advance !
Ulrich Schneider
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
===== LPIC-1 N+ MCSE The difference between Linux and Microsoft is the difference between trust and anti-trust. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
Ah, thank you ! That works fine. The only disadvantage is, that I don`t have write permission from my linux account. Is there a solution to have write acces from both systems ? -- Ulrich Schneider
If you are mounting the vfat as nobody, you might try adding your own user ID to the group "nogroup". Keith --- Ulrich Schneider <listen@ulrichschneider.de> wrote:
Ah, thank you ! That works fine. The only disadvantage is, that I don`t have write permission from my linux account. Is there a solution to have write acces from both systems ?
-- Ulrich Schneider
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
__________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
On Mon, 24 Dec 2001 15:50:52 +0100 Ulrich Schneider <listen@ulrichschneider.de> wrote: Hi Ulrich:
Ah, thank you ! That works fine. The only disadvantage is, that I don`t have write permission from my linux account. Is there a solution to have write acces from both systems ?
You could set ownership and umask in fstab. Regards, Charles -- The box saids Windows XP or better, so I installed Linux
Hi, Tried SuSE 7.1 last February, but it would not work with my hard modem. Bought 7.3 and a US Robotics 5386d and it still will not work. Tried Intialization string from the USR CD, but does the same thing as only "ATZ". Error code #17 , can't find "/var/log/syslog.ppp and /var/log/syslog and /var/log/messages". It connects at 44-48,000, but kppp dies immediately after connection. The IP help person and I could not figure it out. The SuSE support documents gave me the intialization tips, but they did not solve it. Works great under ME. I first tried Mandrake 8.0, and it did not work, thought I'd give Linux another, try but to date only Caldera 2.4 was able to get another older modem working. Quite discouraging for newbies like me who would like to switch permanently from Windows. AMD 1.2 512meg RAM AOpen 73pro motherboard. Thanks for any help. Keith
participants (4)
-
Charles Philip Chan
-
Keith
-
Keith Winston
-
Ulrich Schneider