Linked Questions

2
votes
2answers
2k views

Pre-defined umask under a given path [duplicate]

Possible Duplicate: How to set default file permissions for all folders/files in a directory? Say I have default umask, umask1. I would like all files/folders that I create/modify under a ...
1
vote
0answers
84 views

Setting up a shared folder with group: ACL and file creation [duplicate]

I'm very new to ACL, and at the moment I've been trying to set up a shared folder such that any user belonging to a certain group (lets call it "thegroup") can have full access to the folder (which ...
131
votes
3answers
187k views

Make all new files in a directory accessible to a group

Suppose I have two users Alice and Bob and a group GROUPNAME and a folder foo, both users are members of GROUPNAME (using Linux and ext3). If I save as user Alice a file under foo, the permissions ...
21
votes
5answers
37k views

Forcing owner on created files and folders

I have a directory that contains data shared between a number of users. Access to this directory and anything underneath, will be controlled by the directory's group, which will be added to the users ...
11
votes
4answers
42k views

Setting default username and group for files in directory

Using this helpful post I am able to set a default group and file permissions in a folder. I'm having trouble setting a default owner (teamlead uid 1234). setfacl -d -m g::rwx /my/test/folder ...
3
votes
3answers
12k views

How can I have a separate umask for directory or user?

I want a separate umask for a directory or a user. How can I do this? Edit: I am using Debian 6. The reason why I want to do this is, I want all my SFTP users to create files with write on group. ...
4
votes
2answers
7k views

How to set default owner per directory?

I'm on Debian 8. While How to set default file permissions for all folders/files in a directory? is about permissions, I'd like something similar for ownership. Whenever I login as root and add a ...
4
votes
1answer
8k views

Permissions set on new files and folders by default ACLs

I want to set up default permission inside a folder, so that all new created folders and files have this default permission. So I did some research and the best thread I found was this one. So I ...
2
votes
2answers
1k views

Set default permissions by file type (at least in Vim) [duplicate]

When I create a new script, I always have to manually add executable permissions with chmod +x foo.sh. My default permissions are set to 644, and but I'd like any file with extensions like .sh .py to ...
2
votes
3answers
745 views

setting default permission for directory

Before anyone tags this question as duplicate, I would like to emphasize that I would like to know something extra... I found a way to set the default file permissions for all files created in a ...
9
votes
3answers
296 views

Permissions on Files:

I would like to give 755 permissions to a directory, so I use: # chmod -R 755 /my/folder/ It works for all files inside my folder, but the problem is that I use scripts that create new files in this ...
1
vote
1answer
530 views

Is it possible to make files executable by owner by default?

Since the file base permissions for umask are 666, is it possible to make a file have 750 permissions when created?
1
vote
1answer
569 views

FTP user creates file that are not executable by apache

I am facing a little issue: I have created an FTP server with vsftp and a web server with Apache 2.2. Now, my goal is to make so that anyone can log into the machine via FTP and upload files (.html, ....
0
votes
0answers
620 views

Permission of any file folder set to read only on upload

I have inherited an old CMS system that I have just cleansed from a massive hack attack. I copied all the files and databases, scrapped the old server, cleansed the files via various means, cleansed ...
2
votes
1answer
282 views

How to check if there are “other” permissions in home directories

Right now, I have a script that runs daily that chmod's the home directories, removing all "other" permissions from the directories and the "group" write permission. See below. #Removing all other ...

15 30 50 per page