Re: [opensuse] Re: Wanna umask inhereted from parent directory



On Wednesday 23 May 2007 14:49, Joachim Schrod wrote:
Phil answered your question how to enable the RH behavior by
setting the umask globally.

If you don't want to do this, there is the possibility to use
access control lists (ACLs); the default ACL determines the access
right of newly created files.

I don't know if the global umask setting is sufficient for you, so
I stop here with the explanation; ask, if you need more info.

But note: both methods don't support changing the access rights of
files that are created elsewhere, e.g., in a personal directory,
and moved to the shared directory. (That's because moving doesn't
create a file, it just changes the directory entry. (Reality is
even more complex, but hopefully you'll see what I mean.))

Hi Joachim,
Do you know where I can set the umask globally in Suse?

However, I don't think setting up the umask globally would be "as safe as" in
RH, because Suse doesn't use the concept of UPG (user private group). So, if
I set the umask globally, then it means every user can access those files and
directory in the "test" directory.

You mean ACL as in "extended ACL" from setfacl?

I think I can try "create" the UPG situation like in RH, but it means I have
to "remove" all related users from the 'user' group. Not practical.

Or, after some browsing on /etc/apparmor directory, I think it's possible to
set the umask for the 'test' directory and files.

I'm not sure.
--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
6:00pm up 9:53, 2.6.18.2-34-default GNU/Linux
Let's use OpenOffice. http://www.openoffice.org

Attachment: pgpxPkfKya3d0.pgp
Description: PGP signature



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: Were going to look you up :-)
    ... > That's not a rag - Andy's DIY brain surgery developed complications ... > Tom Davidson ... > Richmond, VA ... What do we care TomASS, as long as they're not yet looking us up(;^? ...
    (sci.physics)
  • Re: [opensuse] Quick Help! - is it OK to ssh, su and umount and re-mount /home?
    ... home change the 'acl' mount option to 'noacl' and remount the partition. ... some program at the office that is now setting acl after samba upgrade to ... Please also state which repository and which SUSE product you're using. ...
    (SuSE)
  • Re: [SLE] ACLs
    ... > shipped with ACL support. ... I don't know anything documentation that is SuSE specific, ... For linux command line tools, ... I use the XFS filesystem when I need ACL support, ...
    (SuSE)
  • Konqueror and ACLs: difference between SuSE and Debian, between 3.5.x versions?
    ... We're facing a problem here with konquerors acl behaviour: ... changing from SuSE's 3.4.something to Debian backport 3.5.0 or also ... or is a Debian or SuSE specific modification. ... Educating people that they need to copy the files, not move them, was ...
    (Debian-User)

Loading