Ubuntu Servers :: How To Not Change Owner And Group Permissions On User Uploads

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


ADVERTISEMENT

Ubuntu Multimedia :: DVD Won't Play -- Permissions/owner/group?

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

General :: Group Permissions Getting Overwritten By Owner?

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

Ubuntu :: Unable To Change User/group Permissions On Samba Shares?

Jul 3, 2011

this is my first real problem that I can't solve my self.I've a test samba share called "Share" and I've created three users:

-mones
-fsu
-fsu2

[code]....

View 2 Replies View Related

Fedora :: Change The Owner And Group From Multiple Files At Once ?

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

Red Hat / Fedora :: Change Owner And Group For Multiple Files At Ones?

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

General :: Secondary Group Users Need To Change File Permissions Of Primary Group Files?

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

OpenSUSE :: When Open Dolphin In Superuser Mode And Change The Permissions To Make Myself The Owner Of Those Folders?

Jul 24, 2011

On my dual-boot system, 11.4 and win7, Iped out the Doc and DL folders in my home directory and replaced 'em with links to the ones on the windows side. It works great except for one thing: When I open Dolphin in superuser mode and change the permissions to make myself the owner of those folders, the change doesn't take. Is there a special trick to it?GEFPS: I plan to use openSUSE as my main OS, but it's easier to keep my data on the NTFS partition, because Linux speaksindows better than than Windows speaks Linux. Besides, that's where my data already lives

View 9 Replies View Related

Ubuntu :: Change Partition Owner To User

Jul 16, 2010

Just intalled Ubuntu 10.4 but one of my partitions /media/extra is owned by root, i would like to chance the owner to my user. I've tried sudo chown -Rf username:usergroup /media/extra but i stil have no permissions.

View 1 Replies View Related

Ubuntu :: User Group Permissions Mess Up

Apr 14, 2011

My main account 'dave' runs as admin etc This was the output of 'groups dave': dave adm dialout cdrom plugdev lpadmin sambashare admin I was trying to add dave to the user group 'media-www' and i ran this command: 'usermod -G media-www dave' Then after another 'groups dave':
dave : dave media-www It seems to have removed all the other groups! How do I restore this?

View 4 Replies View Related

General :: User And Group Permissions

Jul 10, 2010

I am doing rhce course but i am very confused to answer these user and group permissions.the questions are like this...the owner of the /data must be user tom.primary group of /data must be the group sysadmins.the members of the group test must be able to write and create files in the /data.the members of the group web have no access to these directory.the user jack not belong to any of these gropus must have to edit files created in /data.the user tim can only list the contents.

the questions are always like these..i am okay with sgid and sticky bit.but i dnt know where to set default acl and other permissions.

View 3 Replies View Related

General :: Understanding Ubuntu User / Group Permissions

May 20, 2010

I'm beginning to deal with more than one user on my system (it's a VPS serving some sites) and I need to make sure I understand how group permissions work. I have an account named "admin" .. it's basically the primary account that is used for serving most of the sites that I control myself. Now, I added a second account named "Ville" as one of my users wants to be able to administer that site. So, I can do this the easy way and just chown their domains folder under the ville user, they have permission to do whatever they need be and so forth. However, let's say I want to also give the admin user access to the files (modifying and all) .. how can I put both users into the same group and give them both permission?

I've tried doing:
sudo usermod -a -G admin ville
To add the ville into the admin group, but ville still cannot edit files by admin. Permissions for the primary directory for the ville user are read/write for both owner and group, and the current group for the files is admin:admin ..
But ville still can't write into the directory. So, what should I be doing here to get this right and secure at the same time?

View 1 Replies View Related

Ubuntu Servers :: PHP Script And FTP User Access (Owner)

Oct 11, 2010

When I create folders in a PHP script fom my website, the folder is created but has owner "33". My ftp user have an other "Owner ID" than this. So I can't delete or edit the files that is created. I'm running Ubuntu 10.04 on a VPS server.
ISPconfig3
proftpd
I think I have LAMP (it was installed with a script from my hosting company).Also the safe_mode is off.

View 3 Replies View Related

Slackware :: Change Group Permissions

May 12, 2009

Originally Posted by slackuser67 In my case it was a permission thing. Logging in as root, sound worked, logging in as user didn't. I followed the adding myself to the audio group and that didn't do it either. But, adding myself to the video group did the trick. You wouldn't think that would work with getting video but no sound, but it did in my case. I'm having all the same problems, but I'm using DSL-N, and I can't figure out how to check or change the group permissions.

View 2 Replies View Related

Ubuntu :: Create A New Administrative User Of Change The Current User's Group

Sep 3, 2010

This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?

View 1 Replies View Related

General :: Permissions - Way To Update The User/group Properties Without Having To Login Again?

Mar 22, 2010

After I edit /etc/group and I add a user to groups it didn't belong to, the user will not be able to use it's newly acquired privileges unless it starts a new session. Is there a command to refresh user/group properties in an ongoing session?

View 2 Replies View Related

Ubuntu Servers :: Group Permissions Aren't Working

Sep 9, 2010

i created a directory in my webserver as well as a group "webdevs" which I want to give write permissions to, and include my user so that i can edit.i used [addgroup webdevs] then [adduser MYUSER webdevs].then [sudo chown root:webdevs MYDIR]then [sudo chmod 774 MYDIR]when I try to cd to MYDIR under MYUSER, I get permission denied.

View 3 Replies View Related

Ubuntu Servers :: Setup Samba Share And Group Permissions?

Feb 15, 2011

I have a couple of user accounts where each member belongs to a group i have created: Each user access the share using their own user account credentials.
How can I configure Samba in a way so that each modification done on the share gets the owner of the user and my group instead of the user and the users own group? I would also like the access rights to be 770 to each modification.

In other words, today each modification by "userA" get the owner "userA.userA" and I would like it to be "userA.MyGroup" with "rwxrwx---" permissions.

View 3 Replies View Related

Ubuntu :: Edit Owner / Group Via SSH With GUI?

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

Ubuntu :: Change Umask On Per User / Group Basis?

Mar 25, 2011

I've decided to move this question into a new thread since i haven't received an answer for 3 days. This question was originaly posted here: [URL]... I've already searched in google, however i wasn't able to find an answer that solves my problem... How can i change the umask on a per user basis so that each user can have its own umask to fit his needs? For example: I have four accounts on my system ex.

admin1 : admin,
admin2 : admin,
manager : stuff,
user : user,

-So now I want everything from the admin group to be by default set to 002 (so that every user that is in the admins group can have a full share (-rwx rwx r--) of everything that is created by the admins).

-Then the similar to the above managers shoud have 022 umask.

-And each of the regular users should have 002 or 022 or 077 it is up to the users choice.

I hope that i have provided enough info thorough the example.

View 4 Replies View Related

OpenSUSE Network :: 11.2 - Owner And Group On NIS

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

General :: Sort Ls By Owner And Group?

May 14, 2010

How can I list directories with ls and sort them by their owner and group?

View 1 Replies View Related

Ubuntu :: 9.1 - MySQL Listed As Group / Owner In Directory

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

Ubuntu :: Make Files Have A Different Default Owner:group?

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

General :: Cvs Import File Group Owner ?

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

Networking :: NFS Files On Client Have Different Owner/group Than On Server?

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

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 View Related

Ubuntu :: Put A Line In /etc/fstab To Mount One Of Partitions With Owner And Group Not Root

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

Ubuntu Servers :: Move A User To Group When He Is Created With Adducer?

Jan 14, 2010

When you create an user with adducer (name) an folder is automatically created to that user.

But how can i move a user to a group when he is created with adducer.

View 3 Replies View Related

Ubuntu Servers :: Samba Share Using Domain User/group In Valid Users?

May 20, 2010

I have Ubuntu server 10.04 joined to a domain using Likewise Open. I can login using my domain credentials and have added my domain account to the sudoers file. Now that I've got it joined to the domain I want to add some samba shares and have domain members use their accounts to access them. However, no matter what combination of my domain name and the domain user or group I use in the valid users field it won't let me in. What's the proper way of inputting a domain user or group in the valid user field?

This is the entry I'm using for the share:

Code:
[testshare]
path = /srv/testshare
valid users = @"Domain Name+Domain Group" (Have tried many things here)
public = no
writable = yes
printable = no
create mask = 0765

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved