Applying default permissions for newly created files within a specific folder
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
EDIT: I may have misunderstood your question. If you want all this to happen by default when you create a new user, then you would probably want to modify the adduser script, which is probably located in /usr/sbin/
mattydee,
I wasn't being very clear...
I was trying to find a way to automate the process of setting 'Proper' permissions on my box whenever a new account is created.
People sometimes ask me to help them with computer related issues and I always suggest they just install Ubuntu and be done with Windows. If they subsequently find out about the odd default permissions I feel they will lose confidence in Linux in general.
Sadly I'm not sufficiently versed in Linux to work these things out for myself, yet :-)
Can you help me along the way to modifying the aduser script, anyone? I actually thought solving my issue relied on ACL as well...?
Can you help me? I'm a bit of a Ubuntu evangelist and don't want a prospective Windows convert to think I'm nuts for recommending an OS which has such odd defaults.
At least Fedora 9 (which is not the current version) has the same default permissions as Ubuntu.
I am not sure if this is really a bad default. At least it is the most secure default to avoid accidentally publishing unwanted data to others.
There are features at least on Ubuntu at the Gnome desktop for easy folder sharing - however I did not test so far, what is done behind the scenes on the permission level when I do this.
I was under the impression the default permissions for a newly created account was that everything is world-readable. No?
In which case, how does it prevent me from 'accidentally publishing unwanted data to others'?
Sorry, you are completely right!
I spent a lot of time at the weekend installing a server and managing security and I somehow was (after too less sleep) still thinking about that. Sorry for the confusion!
I mean the default is not so bad because by default it is ensured that nobody is modifying data you created.
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 444
Thanked: 6
Original Poster
S.Lowhand:
Not that I don't want to help you, but since you need help with a custom Ubuntu setup, something that's completely unrelated to the thread topic, why don't you start another thread and link to it here. I will try to answer your questions there and it will also probably get more exposure.
Not that I don't want to help you, but since you need help with a custom Ubuntu setup, something that's completely unrelated to the thread topic, why don't you start another thread and link to it here. I will try to answer your questions there and it will also probably get more exposure.
mattydee,
Shows what a Newb I am that I thought my issue was related to your original thread... :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.