Questions tagged [chgrp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
16 votes
4 answers
26k 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 ...
mislav's user avatar
  • 263
9 votes
1 answer
17k 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?
anjanesh's user avatar
  • 337
3 votes
1 answer
19k 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 ...
jrdioko's user avatar
  • 577
3 votes
1 answer
3k 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 read/...
HappyDeveloper's user avatar
1 vote
1 answer
2k views

how to add a dot recursive in file/folders permissions

example of files with there permissions -rwxr-xr-x. 1 root root 659 Jan 4 2018 zookeeper-server-initialize -rwxr-xr-x. 1 root root 649 Jan 4 2018 zookeeper-server-cleanup -rwxr-xr-x. 1 root ...
shalom's user avatar
  • 501
1 vote
2 answers
1k 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 ...
Rob's user avatar
  • 185
1 vote
1 answer
686 views

NFSV4 w/CHMOD & CHGRP

I'm just starting off with NFSV4 and had a few questions. So normally when creating an NFS share on a NAS filer and mounting on a client I would run a chmod & chgrp to set things up the way I want....
marshit's user avatar
  • 31
1 vote
1 answer
1k 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 ...
Peter Krejci's user avatar
1 vote
1 answer
3k 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 cmds_allowed=PASV,SIZE,CWD,PWD,...
monkeymatrix's user avatar
1 vote
0 answers
331 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 site....
ingh.am's user avatar
  • 283
1 vote
0 answers
141 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, ...
john206's user avatar
  • 109
0 votes
3 answers
5k 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 ...
filmoreha's user avatar
  • 231
0 votes
2 answers
102 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 ...
Jelle De Loecker's user avatar
0 votes
2 answers
1k 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 ...
Prashanth Sundaram's user avatar
0 votes
4 answers
2k 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?
Oren's user avatar
  • 9
0 votes
2 answers
831 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.
H. Ferrence's user avatar
0 votes
1 answer
421 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 ...
user1231561's user avatar
0 votes
1 answer
1k 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 ...
rs77's user avatar
  • 125
-5 votes
2 answers
929 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 now ...
DD.'s user avatar
  • 3,114