The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
26 views

Best practice for setuid and setgid in /root and user directories

ZFS allows to created datasets with setuid turned off, which (AFAIK) means that setuid bit can't be set on files stored in those datasets. Assume now that there are two datasets, one for the /root ...
0
votes
0answers
10 views

Setting samba along with quota

We are trying to project quota for folder share managed by samba. We are using following permission for folder we want to share, User:nobody Group:perProjectGroup Mode drwxrwsr-x Please note ...
2
votes
1answer
57 views

Should usergroups be enabled?

All our users are managed with a central LDAP. When my predecessor in managing the infrastructure created the ldap he decided against creating usergroups (meaning groups of the same name and GID as ...
2
votes
1answer
503 views

Amazon EC2 Ubuntu and upstart logging permissions

I have set up this upstart script on a Amazon Ec2 Ubuntu 12.04 TLS instance for executing a node.js application. The script uses setuid and setgid. It works fine without using setuid and setgid but ...
1
vote
1answer
321 views

SETUID / SETGID on a binary executable stopped working following upgrade of Fedora Core

I have a C program that needs access to a protected directory full of stuff.strong text The idea is that only the program or the administrator have access. In the past on Linux platforms, I've used ...
1
vote
1answer
1k views

Managing Linux Directory Permissions & SFTP

Good morning; I have a RHEL 5.7 web server configured to allow SSH/SFTP only by specific groups. I'd like for content managers to upload content to their respective directories and have that content ...
2
votes
1answer
123 views

setgid file deletion rights

I have been learning Linux from few days, and now I am at File Parmissions with sticky bits, I tried the following: [root@localhost sdcdir]# ll total 24 drwx------. 2 root root 16384 Mar 21 21:38 ...
4
votes
2answers
449 views

Linux shared writable directory recursively

How can I make a directory recursively read/writable to a group of users? PROBLEM: This is a directory used by apache so access rights should be fairly strict. The only way I could make it ...
2
votes
2answers
356 views

postfix/postdrop Issue with Solaris 10 (sparc) - permissions

I am trying to get postfix (installed from blastwave) working on a Solaris 10 server, but only root is allowed to send mail. The problem appears to be permission related with postdrop. postdrop: ...
2
votes
2answers
525 views

How can I make newly created directories inside a directory with the setgid bit also have the setgid bit?

I give a directory the setgid bit. Then inside that directory I create another directory, and I want it to also have the setgid bit. I have tried something like umask 6002, but it says "octal number ...
3
votes
1answer
3k views

File permission mask/mode settings for Samba on FreeNAS?

I'm currently working on the Samba settings on a FreeNAS server. When any user creates a file or a folder on the server I want the file or folder to get the following RWX permissions: Folders: ...
1
vote
1answer
519 views

setgid on samba share not working with Mac OS X

I've set the setgid-bit on folders within my samba-share. It works like a charm for windows and linux clients. Accessing such a folder with a mac-client the setgid is ignored and the group permission ...
1
vote
3answers
2k views

setgid and group write - possible for recursive directories?

I'd like to set the gid bit so the child files/folders will be set to a specific group. But I noticed that the permissions for group are only set to read and execute, not write - by default at least. ...
1
vote
3answers
3k views

Set gid bit not working

I have these permissions on a folder. drwxr-sr-x 2 root sharedmaster 4096 2010-09-22 10:36 rantest99 I have user tony which is in the group sharedmaster. When I try to mkdir from tony it says ...
5
votes
3answers
2k views

sudo or acl or setuid/setgid?

for a reason I do not really understand, everyone wants sudo for all and everything. At work we even have as many entries as there are way to read a logfile (head/tail/cat/more, ...). I think, sudo ...
6
votes
3answers
8k views

What's the purpose of setgid directory?

I know how setgid works, but I don't know why it is designed, is there any example to illustrate what problems it solves?
1
vote
2answers
759 views

setgid on a file

If I use setgid (chmod g+s) on a file (not a directory), it turns a dark yellow in the file list (of the particular Linux variant I'm using, anyway). But as far as I know, setgid doesn't actually do ...