The chgrp tag has no wiki summary.
5
votes
3answers
2k views
Specify default group and permissions for new files in a certain directory
I have a certain directory in which there is a project shared by multiple users. These users use SSH to gain access to this directory and modify/create files.
This project should only be writeable to ...
2
votes
1answer
434 views
How to make new files automatically belong to group?
I have used chgrp for the 'logs' and 'cache' directories, and chmod 770, so both the linux user asigned to that site (used to execute scripts from the command-line), and the user 'apache' can ...
2
votes
1answer
975 views
OSX equivalent to sudo chgrp -R www-data <directory>
I normally do
sudo chgrp -R www-data <directory>
on Ubuntu to set a folder writable by the Apache process. What's the Mac OS X equivalent for www-data?
1
vote
1answer
1k views
rsync encounters chgrp errors despite --no-g
I am using rsync to sync a directory to a USB-mounted device. That device automounts with myuser:root ownership. When I rsync my directory (that has myuser:myuser ownership) with -a, I get many of the ...
1
vote
2answers
422 views
Safe way to allow users to chgrp to www-data
I have a small webserver used by some friends to host personal websites. Occasionally they need to make a folder for uploads that can be written to by the webserver (www-data). Is there a safe way to ...
1
vote
1answer
98 views
chgrp to group I am not a member of
I'm creating git repositories, ldap accounts and ldap groups using PHP application. Everything works fine, but I have a problem to set right permissions to git repositories. Every ldap user is a ...
1
vote
0answers
53 views
Running trac on a debian server - error writing to trac.ini
I have trac running on my debian server and I set it up using mod_wsgi through apache. Now I have everything setup nicely, except I can never seem to write to a projects trac.ini file through the ...
1
vote
0answers
96 views
can't assign permission for a folder to a group only one owner works
I'm trying to change permissions on a folder as root on Centos server using:
chgrp -Rv ftpusers /var/www/html
seems like everything is right in verbose. I have two users in ftpusers group however, ...
0
votes
2answers
39 views
User in group with r/w access does not actually get the read/write anything
I added my user to the www-data group.
I chmodded a certain directory to 774 (-R, recursively) so only the owner and the group can change something.
Yet my user can't even access it. What am I ...
0
votes
2answers
529 views
bulk swap uidNumber/gidNumber?
We currently have LDAP servers in Dev env. and staging/prod env. Both are not coupled and accounts are created manually. So the uids are same but the uidNumber and gidNumber are different across these ...
0
votes
3answers
1k views
How to auto chown/chgrp files after FTP upload?
I have a new VPS setup with Debian + LEMP stack. Wondering how to automatically chown/chgrp new files uploaded via FTP to /srv/www/siteroot to www-data:www-data?
I am under the assumption this can ...
0
votes
4answers
200 views
Operation not permitted
I have a server on Amazon ec2,
When I try to change group file (chgrp danny /tmp/bla) I get "Operation not permitted".
(I don't want to use "sudo")
Anyone know the problem?
0
votes
2answers
394 views
CHGRP in PHP — Anyone Able To Make It Work
I have tried PHP's ftp_site($ftpStream, 'chgrp nobody '.$directory) but I cannot get it to work. Does anyone out there have any success changing a directories group via ftp_connect() in PHP? Thanks.
0
votes
0answers
62 views
Setting permissions to manage webserver files with Sftp
my server admin skills are a bit rusty (lots of years of inactivity), so I need your help. I saw and tried lots of tuts, but I can't achieve my goal.
I have setup an Ubuntu Server to host some ...
0
votes
1answer
250 views
vsftpd can't upload to mounted directory
I have read many, many help pages today trying to fix this, and I'm still nowhere closer.
vsftpd config file:
anonymous_enable=NO
local_enable=YES
write_enable=YES
...
0
votes
1answer
68 views
SSH: FTP created <user> logs into the wrong directory
Ok here's the deal - im new to SSH and have been googling around trying to figure this out.
Objective for me has been to create a FTP user that can login only to: /var/www/mydomain.com/ - however what ...
0
votes
1answer
404 views
How do I enable a group of users to edit files in Ubuntu var/www?
I'm hoping someone will be able to direct or help me understand how I can enable multiple users to edit the same files/folders in Ubuntu EC2 server (11.10).
I currently use Transmit, the Terminal ...
-4
votes
2answers
299 views
Linux directory permissions
I have a folder created by root and I want to be able to add permissions to a usergroup so they can move around the files etc.
I did the following:
chgrp -R developers testdir
The file owner is ...