General :: Default Group Owner Of Files In A Directory?
Sep 10, 2010
have recently installed ubuntu server on a new machine. I have added 3 users and I have assigned them to a group.The three of us work together on a lot of stuff so what I would like to do is to have a specific folder made the groups folder. All files that are created or moved into this folder should automatically be owned by the group. I.e. all 3 of us should have the right to read and write to these files.
View 11 Replies
ADVERTISEMENT
Aug 16, 2011
I can't figure out how to make files have a different default owner:group.. Example:I need the users of my group called gpib, to create new files with: username:gpib, instead of the default: username:username
[Code]...
View 3 Replies
View Related
Mar 23, 2010
I use 9.10 desktop with a root user and my own user (timmo), I did not create anything else. Now I check a directory (mysql databases) with ls -l and I see mysql not only as a group but also as owner. How can mysql, not being a user on my system, be an owner? In users and groups I see that all of the many groups only have two members, root and timmo. I know that mysql users and linux users are different animals but ls -l is definitely a linux command.
View 2 Replies
View Related
Jun 8, 2011
I have a directory cookie_tmp which is owned by some:fella. Session cookies are being created under this directory as How can I set the directory so that files are created and owned by some:fella ?
View 2 Replies
View Related
Nov 11, 2010
How do i chance the owner and group from multiple files at ones.
How to change the rights for all at ones i know!
View 1 Replies
View Related
Nov 11, 2010
How do i chance the owner and group from multiple files at ones.How to change the rights for all at ones i know!.
View 1 Replies
View Related
Feb 4, 2011
The server is named alpha and is running Archlinux. It is exporting a directory named /files. The server is a couple of years old and I have accessed it extensively from clients running Arch, Suse, PCLinuxOS, and maybe some others, all with no problems. The clients (3 of them) are new installations of Linux Mint 10 (Julia). When I mount the nfs all of the nfs files are visible as expected. However, the owner/group is drastically different than on the server.
I might add that I have set up user id's and group id's the same. My user is 1003 on all systems, and the users group is 100 on all systems. When I am on alpha (via ssh), here is a partial file listing.
Code:
[dick@alpha dick]$ ls -l
total 9740
drwxr-xr-x 3 dick users 4096 May 16 2009 airplane
-rw-rw-r-- 1 dick users 240978 Jun 27 2009 Alice Grad 1934.pdf
-rwxr-xr-x 1 dick users 444 Jul 8 2007 alpha2ast
-rw-r--r-- 1 dick users 444 Sep 2 2009 alpha2charlie
[Code]...
If have searched the Mint forums, LQ forums, and google in general. I must be missing something in my search because I can't believe that no one else has this same problem and I am having it on 3 different boxes.
View 4 Replies
View Related
Jan 29, 2010
Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?
View 2 Replies
View Related
Nov 8, 2010
mount an NFS directory as a regular user (which doesn't have sudo rights) because a suitable entry (i.e. with the user option) is defined in /etc/fstab file.But, when I mount it, I am not the owner of it! The owner is the default superuser of the system. So I don't have write permissions in the mounted directory.
View 4 Replies
View Related
May 14, 2010
How can I list directories with ls and sort them by their owner and group?
View 1 Replies
View Related
Apr 9, 2010
A colleague of mine has a Linux box (running Debian I believe) with an SVN repository on it. The repository directory and files 'owner' is my colleauge. We are both members of a group called 'users'. He manages several projects both Linux and Windows apps, while I have one Windows app. For the Windows apps, we both use TortoiseSVN via an SSH link to commit/update. Performing the command 'ls -l' shows the repository files and folders on the Linux box to have the following permissions:
-rwxrwx--- john users
However, when my colleauge commits to the repository, the permissions change to:
-rwxrwx--- john john
This then means I get 'Permission denied' when trying to access the repository myself as it appears that the group permissions have been overwritten with only 'owner' permissions. To fix this, a 'chown -R' command is applied to the files/folders to set the permissions back to owner/group, but each time he writes to the repository, the issue repeats.
View 1 Replies
View Related
Jun 11, 2010
This is about ubuntu 10.04
I can import projects to my cvs repository only when the repository set to group owner cvs. Which is fine to me.
But I found the project folder/files that I imported into the repository have group name other than cvs (in fact, that's my username). And that prevents others to check out my code.
View 3 Replies
View Related
Apr 21, 2009
How can I make a virtual host (right now I just use NameVirtualHost *:80) that will load the same page for every domain that matches imap.domain.com, smtp.domain.com, or pop3.domain.com?
View 4 Replies
View Related
Jul 21, 2010
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a NIS user on my company, but after install opsnSUSE 11.2 on my workstation the owner and group of all of my file are 4294967294
Code:
[vampird@lyra]:~$ l | head
total 2277
drwx---r-x 30 4294967294 4294967294 2560 2010-07-21 13:12 ./
drwxr-xr-x 69 4294967294 4294967294 1536 2010-07-16 16:01 ../
- -rw------- 1 4294967294 4294967294 129 2010-07-21 11:34 .bash_history
- -rwxr-xr-x 1 4294967294 4294967294 2323 2010-05-06 01:56 .bashrc*
drwxr-xr-x 3 4294967294 4294967294 512 2010-07-21 10:56 .cache/
drwx------ 9 4294967294 4294967294 1024 2010-07-21 11:11 .claws-mail/
drwxr-xr-x 5 4294967294 4294967294 512 2010-07-21 11:33 .config/
drwx------ 3 4294967294 4294967294 512 2010-07-21 10:55 .dbus/
drwxr-xr-x 2 4294967294 4294967294 512 2010-07-21 11:25 Desktop/
[vampird@lyra]:~$
On the server I can see the owner as vampird and the correct group,
VampirD
Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - [URL]
iEYEARECAAYFAkxHNfAACgkQJQ+0ABWtaVlcagCdEo5kiwydUTmZ+dkD4R4jholx
bi4AoO6T2OzHealqsQ+9Z42jJ7rYJ6uL
=YKm8
-----END PGP SIGNATURE-----
View 1 Replies
View Related
Feb 14, 2011
In Windows I used WinSCP to do all of my server work. It was easy and intuitive to use. In Ubuntu, I've been recommended to use "sftp://" for the location. I can change folder permission settings this way, but it doesn't allow me to change the owner and group, and doesn't allow to change the file permissions (folder permissions are ok though).
Can anyone point me in the right direction? How do I go about doing this? I'm much more comfortable doing it via GUI rather than terminal.
View 4 Replies
View Related
Oct 19, 2009
i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?
View 3 Replies
View Related
Jan 25, 2011
How to set the default file permissions on ALL newly created files in linux - but differs in important ways:
I want all files created in (or copied to or moved to) a certain directory to inherit a set of default permissions that is different from the system default.
Rationale: The directory in question is the "intake hopper" for an application. Users in a group place files in the directory, and the app (running under another user id in the same group) takes them and processes them. The problem is that the owner of each file placed in the directory is the user that placed it there, and the permissions are defaulting to "rw-r--r--"; I want to change that to "rw-rw----". The app doing the intake can't do that explicitly, because the user id the app is running under doesn't own the file in question, and the default permissions don't allow the app to chmod on the file! Obviously, the user could do a chmod after putting the file there - but I want to keep the "drop" by the user as simple as possible. (These folks are not linux-literate, they just drag and drop the files from their windows desktop to a (Samba) network share - i.e. they don't even know they are interacting with a linux system.)
umask seems too powerful: I don't want to set default permissions for every file created anywhere by these users - just those created in (or placed in) this directory.
View 3 Replies
View Related
Oct 28, 2010
Did a fresh install of Maverick, all is well but if I insert a video DVD, it won't play. But if I open Movie Player, etc. as root, I can play the individual chapters - that is I need to manually choose which chapter to play, it won't start at the beginning and play to the end. Have installed libdvdcss3, restricted extras, etc. I am a member of the "video" group.Data & music CD's work fine in the drive; data DVD's are fine also. Just no DVD playing with me as the user; nor does the DVD appear in my Places menu, etc
View 2 Replies
View Related
Jan 9, 2010
According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.
View 9 Replies
View Related
Jul 17, 2011
In my /var/www directory, I have everything set up with:
user: www-data
group: developers
directories: chmod 570
files: chmod 460
Everything seems fine. Users from the developers group can edit files and all, but now we began using the Git repository, and whenever a user edits a file (ie. Joe who is a developer,) file permissions get screwed again. Now they're:
user: Joe
group: Joe
directories: chmod 755
files: chmod 644
How can I fix this so permissions remain the same?
View 2 Replies
View Related
Aug 10, 2010
I am creating a tar gzipp'ed archive on my local machine (as user1) using the following commands:
user1@devmachine:~/$ tar czpf
dir.tar.gz thedirectory
on the server, I untar it (as user 2) using the command
user2@servermachine:~/$ tar xzpf
dir.tar.gz
I find that the extracted files are owned by another user (say user3) What is the logic that is used to determine file ownership if the owner of the extracted file is not a user on the target machine? I am running Ubuntu 10.0.4 on both machines
View 1 Replies
View Related
Mar 10, 2011
For example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?
View 1 Replies
View Related
Nov 17, 2009
I'm trying to understand the last few hours... I installed slackware 13 yesterday in a multiboot system. On a seperate hdd from all the OS's I have my mp3 collection......I could play the mp3's as root after manually mounting sdb, but as a user I was unable to play them even though I chown'ed and chmod'ed 777 until I mounted sdb in fstab. The second drive was formatted ntfs by vista.
View 3 Replies
View Related
Feb 8, 2010
When I use ls -al to show files downloaded from internet,
-rw-rw-r-- 1 427 6011 7544 Jul 20 2006 INSTALL
-rw-rw-r-- 1 427 6011 4229 Dec 9 15:36 Makefile.am
-rw-rw-r-- 1 427 6011 27893 Dec 10 17:47 Makefile.in
I can see the owner and group ids are shown because there are no corresponding entries in /etc/passwd and /etc/group respectively. I don't know much about linux and dare not to edit these files, I wonder if somebody already knows whether linux would map the owner id of files coming from other computers to the account name in /etc/passwd and display them when necessary (for example, when using ls -al)?
View 1 Replies
View Related
Jun 14, 2011
What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.
So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".
Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server
View 3 Replies
View Related
Aug 8, 2010
Is there an option for default owner of files and directories in Samba-shared dirs?
View 4 Replies
View Related
Aug 10, 2011
I have a shared, family computer which has USB drives attached to it. Multiple users can be logged in, that sort of thing. All of the users have been added to "Access external storage devices automatically", however I've noticed that when one user plugs in a USB device, the other users can't see it without unmounting/remounting. When a drive is mounted, it seems to mounted at:
drwx------ 5 jdoe jdoe 4096 2011-08-10 12:03 DriveName/
What I want to do is change the default mount group settings, to:
drwxrwx--- 5 jdoe family 4096 2011-08-10 12:03 DriveName/
I know I can do this through fstab, but as far as I know that forces you to name the drive/mount point and that's not what I'm looking for, what if a user adds a NEW usb device and wants it shared with the other users?
View 1 Replies
View Related
Jan 6, 2011
$ whoami
meder
$ cd /var/www
$ sudo mkdir html
$ sudo groupadd web
$ sudo usermod -a -G web meder
$ sudo usermod -a -G web medertest
$ sudo chown meder:web html
$ sudo chmod -R g+rwx html
The problem is, anytime I create a new file in /var/www/html even though the group is set to web, it is only writable by the original user. I was given the advice of setting the umask to be 002 because the default is what causes the problems. But I would have to do this for all users in that group, and as far as I know it would be tedious having all of them modify ~/.bashrc to have umask 002. Even if I can do it myself with a shell command for all of those users, it still seems too tedious.
View 2 Replies
View Related
Jun 13, 2011
Code:
# Create a directory, and user, assign ownership of dir to that user and usergroup.
sudo mkdir /mysecureddir
sudo useradd mysecureduser
sudo chown mysecureduser:mysecureduser /mysecureddir
[code].....
I've read some similar issues dealing with apache, but its still not clicking for me. Group has rwx access to directory and everything in it. I'm in the group.
View 6 Replies
View Related
Jul 18, 2011
I have a directory that needs to be owned by nginx user and I need to access it via other users in order to add/edit/delete files in it. So I created a group called www and added both then chgrp -R on the directory. However I am still getting a "unavailable to access no permissions" sort of error in my SSH/SCP/what ever you want to call Mac's Transmit.
ls -a output
drwxr----- 3 nginx www 4096 Jul 17 23:56 nginx
View 1 Replies
View Related