Re: write/read to windows drives



Vlad_Inhaler wrote:

On May 31, 8:45 pm, Mike <wrathofbat...@xxxxxxxxxxx> wrote:
ok, I changed the entry in fstab to: /dev/sda8 /windows/G
vfat ro,users,gid=users,umask=0002,nls=utf8 0 0
and I am still getting the same message.

I went to the web site about samba previously posted and I took a piece
of code for fstab: "defaults,gid=101,umask=007 0 0" to replace:
"ro,users,gid=users,umask=0002,nls=utf8 0 0" so it works now but I need
to know what I did.

ok, what you had before was:
ro - read only :-) (not what you wanted at all)
gid=users - is the name of a group. That 'gid=101' is the number that
group 'users' had on my system 8 years ago when I wrote that Samba
help-page. If names are now accepted then I'd try 'gid=users'. (look
at your /etc/passwd entry, the 4th field is the numeric group-id, now
look at /etc/group and you will see the name for that number)
nls=utf8 - use UTF-8 for converting filenames. Sounds like a good
thing :-)
umask=0002 - owner has all access, group has all access, others have
read-access.
users - allow anyone to mount/unmount (otherwise only root can do it)

my umask=007 means owner+group have all access, others have no
access. The 0002 value might be better.

for 'defaults', do a 'man mount'.

ok, this is what I have now:
/dev/sda8 /windows/G vfat man
mount,users,gid=users,umask=0002 0 0
root can access and write to it but I need to have everyone else to atleast
read, but I want to write to it too with out needing to switch to root
every time.
under root I try to change permissions to everyone all access but after I'm
done doing that I go back to check and it changes back.
under user I go to access the drive and I get: "Could not enter
folder /windows/G"

.



Relevant Pages

  • Can only print from some windows machines
    ... I still have a problem with my samba printing mechanism. ... then the jobs are saved there as root. ... # Browser Control Options: ...
    (SunManagers)
  • Re: explicit dcache <-> user-space cache coherency, sys_mark_dir_clean(), O_CLEAN
    ... All that's required is that Samba has a dcache entry for each path ... every path component from the share root ... generation counters of individual directories, ...
    (Linux-Kernel)
  • Re: Printing from Samba
    ... I am running Samba 1.3 ... Running cupsaddsmb, I initially got an error: ... valid users = %U root ...  The command is all on one line. ...
    (comp.os.linux.networking)
  • Printing from Samba
    ... I am running Samba 1.3 ... I initially got an error: "No Windows printer drivers ... comment = User's home directory ... valid users = %U root ...
    (comp.os.linux.networking)
  • Re: Problem setting up NFS on Ubuntu
    ... >>> forgotten most of the litle I knew about commercial Unix, ... >> alike on the FS and use samba to export it to doze clients. ... >>> I have also discovered how to login to the gui as root, ... >>> which should make windows client access easier, and does work also from RISC ...
    (comp.os.linux.setup)