villadiary.blogg.se

Linux list all processes owned by me no permissions
Linux list all processes owned by me no permissions





linux list all processes owned by me no permissions

Here, let's assume every item was created by its owner. rw-r-r- user2:ourgroup |- group_dir/user2_submission/README consider the following setup: drwxrws- root:ourgroup |- group_dir/ĭrwxr-sr-x user1:ourgroup |- group_dir/user1_submission/ĭrwxr-sr-x user2:ourgroup |- group_dir/user2_submission/ Only people in the ourgroup group can access group_dir.The group controlling the access to the group_dir directory is ourgroup.Actually, the directory -x execution bit could be just what you need. However, this does not require you to restrict the permissions in the whole directory structure. So, basically, from what I see, you want to control the access to a directory using the groups mechanism. In your case however, there might be another solution. However, while this can be configured on FreeBSD, other UNIX & Linux systems just ignore u+s. Setting a default owner "automatically" would require a directory setuid behaving like setgid. If there is a better way than what I’m attempting, I’m all ears. Anything created in this directory inherits the permission scheme from its parent. What I want is to have a directory that can be shared by adding a group to a user. I haven't been able to figure out if ACL can help me with forced ownership.

linux list all processes owned by me no permissions

I found an example using INotify but that strikes me as high-maintenance, since it requires scripting.

linux list all processes owned by me no permissions

I expect I could periodically surf through the entire directory with a cron-job, but that strikes me as inefficient for what is essentially a once-pr-file command. As such, even if i should remove that user from the access group, I would not remove his access completely.Īre there other options I missed for ensuring that all files and sub-directories have the same owner? My problem is that the owner of the file or directory is still the user that created it. The files will be fairly small, I don’t anticipate anything bigger than 50MB. The directory will contain a tree structure with directories and files, with the total amount of files likely being a few million. Access to this directory and anything underneath, will be controlled by the directory's group, which will be added to the users in question.Īs such I created the folder "sticky group" chmod g+s set. I have a directory that contains data shared between a number of users.







Linux list all processes owned by me no permissions