On Wed, 18 Apr 2001 at 17:21, Clemen Canaria wrote:
> anybody tried this already? i wanna share /mnt/fatc/somedir into the
> network using samba...my problem is when you mount /dev/hda1 which is
> the partition which the said dir resides, it is mount with permission
> 755. can i override this?
You can read the manpage on fstab. Modify the options of your entry in
/etc/fstab to mount /dev/hda1 with your preferred permissions. Mine:
defaults,rw,noatime,nodiratime,noexec,noauto,user,umask=000,uid=0,gid=0
Allows everyone to read and write to any file or directory, with
executable bits only on directories (that's noexec's job) and everything
owned by root. :)
> and then when i tried to share it using samba, i can't write into that
> share.
While I haven't tried sharing a vfat partition using Samba, I don't see
any reason why you shouldn't be able to do this. Why don't you modify the
above options I put, changing the umask and uid/gid as you wish, then
change your smb.conf settings to match these settings by forcing the masks
and using forceuser (?). I remember this is in the smb.conf manpage. :)
--> Jijo
---
Linux, MS-DOS, and Windows NT ...
... also known as the Good, the Bad, and the Ugly
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]