[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Working both Worlds



It took a while for me to thank you because I didn't get it right in a
couple of tries. Anyhow everything's working ok right now. I've got a
follow up query (for my info) regarding umasks.  I know that the answer is
somewhere buried in the docs but I haven't reached that part yet, if I
ever will. :)

This might be a silly question but here goes anyway -- if a of umask=007
is equivalent to a chmod 770, why don't I just use chmod instead. And
what's a umask for ?

Thanks again.

Horace

Kevin Colby wrote:
> 
> When mounting Windows partitions, you will probably want to use certain
> options.  After reviewing the man page on 'mount', I think that what you
> are after is "user,sync,auto,uid=XXX,gid=YYY,umask=ZZZ".  Here are some
> very edited excerpts explaining:
> 
> -----------------------------------------------------------------------
>        -o     Options  are specified with a -o flag followed by a
>               comma separated string of options.  Some  of  these
>               options  are  only  useful  when they appear in the
>               /etc/fstab file.  The following  options  apply  to
>               any file system that is being mounted:
> 
>               sync   All  I/O  to  the file system should be done
>                      synchronously.
> 
>               user   Allow an ordinary user  to  mount  the  file
>                      system.   This  option  implies  the options
>                      noexec, nosuid, and nodev (unless overridden
>                      by subsequent options, as in the option line
>                      user,exec,dev,suid).
> 
> Mount options for fat
>        (Note: fat is not a separate filesystem, but a common part
>        of the msdos, umsdos and vfat filesystems.)
> 
>        uid=value and gid=value
>               Set the owner and group of all files. (Default: the
>               uid and gid of the current process.)
> 
>        umask=value
>               Set the umask (the bitmask of the permissions  that
>               are  not  present). The default is the umask of the
>               current process.  The value is given in octal.
> -----------------------------------------------------------------------
> 
> Remember that umasks work the reverse of chmod.  "write-anyone" would
> be a umask of "000".  I would use "uid=0,gid=X,umask=007", and create
> a group for Windows files users called "win".  Then adding users to
> the "win" group would be a simple means of controlling who had access.
> I think others can better address the StarOffice issues.
> 
>         - Kevin Colby
>           kevinc grainsystems com
> 
> Horace wrote:
> >
> > Hi Guys,
> >
> > I'm still new to Linux so I still use Windows for most of my computing.
> > have installed StarOffice 5.2 in Linux to convert and access my Word and
> > Excel files which are stored in several folders in 3 vfat drives (H:, I:,
> > J:).
> >
> > In Linux, I added the entries in the fstab file to mount these 3 drives
> > automatically startup.
> >
> > /dev/hda9       /mnt/drv_h      users,auto      0 0
> > /dev/hda10      /mnt/drv_i      users,auto      0 0
> > /dev/hda11      /mnt/drv_j      users,auto      0 0
> >
> > No problem there. But when I login as a user and try to write to these
> > three disks with any application, I get a "no access" or "permission
> > denied" message. But after doing a umount and a re-mount of the disks, I
> > can easily write to the disks.
> >
> > Can anyone tell me how to fix this?
> >
> > About StarOffice, I've read from an earlier thread that one can't get 100%
> > compatibility when converting MS Office files to StarOffice. It's for this
> > reason that I am going to install StarOffice for Windows and try to access
> > docs created by the Windows version from Linux. Does anybody know if there
> > are compatbility problems between docs created between the Linux and
> > Windows version of StarOffice?
> >
> > Thanks.
> >
> > Horace G. Friend III
> > okee mail com
> > PGP DH/DSS Key Fingerprint [Send email for public key.]
> > 046A FAE0 1E45 FC3E 0560 BAA5 3BA7 9671 5D87 2BAA
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list

-- 
Horace G. Friend III
okee mail com
#45-A Lopez Jaena St., Molo
Iloilo City 5000 Philippines
Tel/Fax: +63 (33) 3373546
CelPhone: +63 (918) 9043988

PGP DH/DSS Key Fingerprint [Send email for public key.]
046A FAE0 1E45 FC3E 0560 BAA5 3BA7 9671 5D87 2BAA






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]