Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Im having a little problem with folders.I have 1 admin and 4 users. All 4 users are in one group.
The problem is that admin have access to 2TB disk ( /media/admin/disk ). I would like that entire group can access to admin folders. Because on that disk I have 4 maps, 1 for each user. (/media/admin/disk/4maps)
So far I was able to give permissions only to a single user at a time. (chown -R user:group /media/admin )
Im using ubuntu server and sftp connection for 4 users.
So how to give permissions to all the users in group ?
Let's assume that mentioned 4 users are in group testgroup.
setfacl -m g:testgroup:rwx /media/admin/disk
The above command will grant testgroup full access to the directory /media/admin/disk
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a Ubuntu 12.04 machine that I can only access using SSH. On this machine I have two users and I want to limit the access to certain files to one of these users.
Basically I want that user to be able to access only its home directory and nothing more. I know that by removing the rx permissions to other home directories for others is one option but I wanted to know if there is another way, a configuration file where I can tell that my user can only have access to that folder.
Thanks.
chrooted jail is the answer.
Like: https://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have a computer with Linux installed that is being used by several users. Included is a secondary data partition that is being shared between the users. But permissions are not easily handled. Anything created by a specific user, get's that user as owner. I was wondering if it would be possible to use fuse to some how mimic the way Android handled it's /data/media location?
I don't know how Android handles /data/media permissions and my solution does not involve FUSE, but if you create a group and add all users in it and set setgid bit on the root of the secondary file system and change it's group to group with all users then owner of each file will still be user that created the file but group of the file will contain all user and therefore they can access it if you set permissions on that file right (something like 660).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
We have smb mount point in one of our RHEL server. By logging as normal user, any file or directory created by the user is shown as root:root. What configuration has been made to force user and group shown as root:root always ? I have checked /etc/samba/smb.conf, no configuration has been found. And also all file and directory getting created by normal user has full 777 permission. Appreciate any quickest help.
The userid/gid "owning" a particular mounted SMB partition are determined by its mounting configuration.
You may want to check this Q&A: https://unix.stackexchange.com/questions/68079/mount-cifs-network-drive-write-permissions-and-chown
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Is this possible?
I have an issue granting a user access to website via FTP. The user can access them but cant delete or edit the files. I would like to change the permissions for the group so any user belonging to the group can edit those files but preserve (keep) the permissions for user / world.
Thanks in advance,
Joseph Mituzas
The command
chmod g+r filename
will merely add group read permissions to the file and not affect user or world permissions. The command
chmod g=rw filename
will replace the current group permissions with read/write.
Neither of these commands will affect user and world permissions
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am trying to run a project that requires user to be in procmod group.
What is it, and how do I add a user to that group?
Use following command to add user to procmod group
sudo chgrp procmod executablepath
Apple script
do shell script "sudo chgrp procmod executablepath" with administrator privileges
procmod user can use task_for_pid function (Tiger os).
From taskgated -- task_for_pid access control daemon
the old (Tiger) convention that a process with a primary effective
group of procmod or
procview is allowed to get task ports