Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Mariusz Kruk
Rishi napisał(a): Is there a global setting to set the umask for all applications to use 002? Probably not. If the application insists on giving a file permissions, let's say, 0600 you can't forbid it with umask. With umask you can only prohibit them from giving some permissions. Not the other

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Rishi
> > Is there a global setting to set the umask for all applications to use 002? > > Probably not. > If the application insists on giving a file permissions, let's say, 0600 > you can't forbid it with umask. With umask you can only prohibit them > from giving some permissions. Not the other way arou

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Mariusz Kruk
Rishi napisał(a): By setting the umask 002 in /etc/profile my problem is resolved as far as I create files and folder using Nautilus or a bash console. :-( The problem still persists if I create folders or save files (attachments) using applications like Kmail, Mozilla, or Konqueror. :-( Is t

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Rishi
> The second matter is harder. You have some options tho. > You can try to set apropriate umask for your users. That's a good start. > If it doesn't help, you can try to apply some acl-magic (AFAIR, there is > a possibility to set up a default permission scheme for directory with ACLs) Hi Thanks

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-26 Thread Mariusz Kruk
Rishi napisał(a): Hi I'm not sure if this is the right forum for this question. If it is not, I would be grateful to anyone that would be kind enough to point to me appropriate forum so that I can take this query there instead. I need to retain the same file permissions and ownership across sub

retaining file permissions and ownership across sub-directories in Linux

2005-09-26 Thread Rishi
Hi I'm not sure if this is the right forum for this question. If it is not, I would be grateful to anyone that would be kind enough to point to me appropriate forum so that I can take this query there instead. I need to retain the same file permissions and ownership across sub-directories in Linu