Global setting for file-access rights?
LHartung
list at ioscan.de
Thu Aug 31 11:07:43 UTC 2006
Tobias Baldauf schrieb:
> Hi!
>
> I'm working on multiple servers, using Krusader as the file-transfer tool.
>
> I encountered more than once that a file I just uploaded wasn't
> accessible for exteranl users (Website-browsers). I checked the rights
> on those files and its always the same:
>
> user: myself
> group: mygroup
>
> user: read + write
> group: read + write
> other: not allowed
>
> This 'other: not allowed' has to go! I don't want to have to change the
> rights for all the files I upload manually each time - there will be a
> point where I'll forget to do it again.
>
> I need to know where I can set globally, which access-rights newly
> created files in Kubuntu gain. I have to alter it so that that other can
> at least read the files.
>
> Another curiosity with this: All files are executalbe by default. Isn't
> that a little weird?
>
> How & where do I change those settings globally?
>
> Thanks!
>
> Tobias
>
>
Hi,
you can set the rights for newly created files with umask.
For all users set the umask in /etc/profile.
This belongs to all users with bash or ksh as their login shell.
Lars
--
http://www.lhits.eu
http://www.linuri.de
More information about the kubuntu-users
mailing list