-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 13 Dec 2002 08:46:21 +0100, Radu Popa wrote:

> I have a server runing samba in a mixed Lin/Win domain. In the same pc
> I have 2 hard disks: 1 for linux, and the other one it is the old hard
> disk in the pc where it used to be windows 98 os. All the shares on
> the linux hdd work just fine for r/w. I have mounted the old hdd in
> /mnt/oldhdd and I shared it across the network without any problems.
> But I can't write to it from the network. I have the following lines
> in smb.conf
> 
> [Old Harddisk]
>     path = /mnt/oldhdd
>     writable = yes
>     comment = Old Hard Disk
>     create mode = 777
>     public = yes
> 
> My problem is that I can see the information on it, but I cannot write
> to it. When I try to change the properties for the directory
> /mnt/oldhdd so I give everyone write access it says permission denied.
> I have tried this also from the console and X server. Is there any
> trick with the fat partitions?

FAT filesystems do not understand the same set of file access
permissions and ownerships. One "trick" is to mount a vfat partition
with a proper uid/gid/umask, see "man mount", so that the user who
is logged in via Samba has write access.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9+agN0iMVcrivHFQRAob6AJ4pgNh9Sw8toxvoxyueD7KoSRJ8QgCfaQuC
2NXmN2q3lzWY19t+m0GT1eQ=
=0TkJ
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to