Software :: Permissions: Have Files Always Have The Same Owner/mod?

Oct 8, 2010

I have a disk that I access from several locations. I require that all the files created always have the same owner, at least group wise. I have different users (that are in that group) that need to be able to read/write all these files. I have these users access the files over samba, and sometimes locally on the server. I know that you can do something with a thing called sticky group or whatever, that files created in a dir with that flag will get the same group, but it has not worked consistently so far. It must also work for directories created by these users.The permissions should be 770 (chmod).Is there a way to set this up, that all files created always have the same group? Right now I am running a cron job every hour or so, to chmod and chown all the files to the right group, but this is far from elegant of course

View 3 Replies


ADVERTISEMENT

General :: Permissions - Would Map The Owner Id Of Files Coming From Other Computers To The Account Name In /etc/passwd?

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

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 :: Localhost Folder - No Owner Permissions

Jul 27, 2010

I have installed apache2, mysql, php .. they work great! but I can move, change, paste or anything in the folder sites_available (the folder for localhost) I am really confused right now! because I have used this with xampp in XP and it worked perfectly but I cant make it work in ubuntu! I cant test my php sites!

I am really noob about configuring linux! I think I don't have permission to do anything in that folder because when I try to paste my site there it show a error saying that I am not the owner! When I installed ubuntu first I created a username: "SHPETIM" and this username is administrator and has root permissions but sometimes there are somethings that I cant do!

Sometimes even in Terminal when I type in my password (the only password that I created when I installed ubuntu) it says FAILURE! I dont know what other password it may have that I don't know! I think there is a user with username ROOT and it has another password but since I am noob I dont understand this and I dont know how it works!

View 6 Replies View Related

Ubuntu :: Editing Permissions Not Allowed Because Not The Owner?

Jul 25, 2011

I am just wondering why this is happening. I just tried to use a tutorial to customize my GUI and give myself a custom launcher for Libre Office, and when I tried to copy the edited .desktop file back into my "/adam/usr/shared/applications" folder, it told me I didn't have permission to do this. I tried to edit the folder permissions and it told me that I was not able to because I am not the owner. Is there any way to fix this or do I have to re-install Ubuntu?

View 9 Replies View Related

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

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

Server :: Owner Of A Directory Different Than File Owner?

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

Red Hat :: Files Have Owner As Uid Number Rather Than Username?

Nov 18, 2009

On my RHES4 I noticed a load of files which had owner set as the owners uid rather than the actual username - is this usual behaviour ? On a similar system the same files actually have the username as the owner.It's just causing me issues as I have changed the users ID and now some thing's wont start meaning I have to manually do a find and chown on the system.

View 4 Replies View Related

General :: Untarred Files On Server Has Different Owner?

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

Security :: Best File Persmissions And Owner For Web Files?

Dec 13, 2010

What are the best file persmissions and owner for web files?

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

General :: Change The Owner/permission Of Device Files?

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

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

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 :: Set A Directory So That All Files Created Below It Are Owned By Dir Owner?

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

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

General :: Owner Could Not Execute Files Until Mounted In Fstab?

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

CentOS 5 :: How To Change Owner Of Copied Files To Newly Created Users

Jan 29, 2010

CentOS 5.4 install, likewise open standard install (For active directory authentication).I have a license service which requires a license.txt be in the users home directory.The group owner for license.txt must be the same as the license service. Whenever a new domain user logs in, it creates the all the appropriate files but the group owner for license.txt is the users domain group. My current workaround seems like more effort than it's worth, is there another way to get this process solved easier/more secure?

- copy the license.txt into /etc/skel

- created a script to check for the presence of license.txt, check it's permissions and change them if necessary

- gave the domain's group sudo [nopasswd] access to the script (the script is not writable)

- execute the script in /etc/bashrc

View 1 Replies View Related

Server :: Hange The Owner Name Of Some Files But When Use "chown"?

Jun 30, 2010

I am trying to change the owner name of some files but when I use "chown" they keep changing for other different user name(postgres):

Code:
[root@server root]$ls -l
-rw-r--r-- 1 root root 3911 Nov 2 2008 test1
[root@server root]$chown newuser test1
[root@server root]$
[root@server root]$ls -l
-rw-r--r-- 1 postgres root 3911 Nov 2 2008 test1

How I would fix this, I tried to change the bashrc but I couldn't

View 2 Replies View Related

General :: Change Folder Permissions Without Changing The Permissions Of The Files Within The Folder?

Aug 11, 2010

How do I change folder permissions without changing the permissions of the files within the folder?

View 6 Replies View Related

Ubuntu :: Permissions For My Home Directory Were Accidentally Changed From 'access Files' To 'create And Delete Files?

Nov 25, 2010

the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?

View 9 Replies View Related

Ubuntu :: Moving Files In Terminal \ Moving Files That Have Root Permissions?

Mar 4, 2010

I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.

View 3 Replies View Related

Debian :: Full Permissions For All Files

Feb 24, 2016

How do I do this?... I'm sick of running into this... permission denied :

I'm sudo and admin.

View 14 Replies View Related

Fedora :: Copying Files-No Permissions?

Oct 30, 2010

I was told fedora is great operating system but all i run is into trouble, hours spend on searching for solutions and never get an easy answer as it is on Leopard or even windows 7.What's my problem. I installed a new dvd copy of fedora13, and now connected 2 USB hard drives that seem to connect fine, can access everything but if i try to copy files to one of the drives it says i don't have permissions, and the fields to change permissions access are blank.

View 1 Replies View Related

Ubuntu :: Setup Permissions For Some Files

Jan 4, 2010

I need to setup permissions for some files.The users on this Ubuntu system should be able to read/view the files.They cannot write/edit the files.Most importantly, they should NOT be able to copy the files anywhere. They should NOT be able to copy these files to another folder, USB device, etc.

View 1 Replies View Related

Ubuntu :: Backing Up Files Changes Permissions?

May 14, 2010

I did a clean install of 10.04 over the weekend and copied all of my backed up files from my external drive back to my internal drive. However, I've noticed that when I moved all my files back, they're all now marked as being executable. I've since fixed this, but I was wondering why this happened to begin with?

I use rsync to backup my files (grsync to be exact), but when I do so I copy files from my internal drive, which is formatted as ext4, to my external drive, which is formatted as NTFS (I keep my external drive as NTFS in case I need to hook it up to a Windows machine). Does the file system discrepancy have to do with why my permissions change when I backup/restore my files? Is there a way to prevent this? Or should I be backing up my files a different way?

View 1 Replies View Related

Ubuntu :: Permissions Of Multiple Files At Once?

Aug 6, 2010

I made some files belong to root, so that my sister couldn't read them while she was staying with me, there were about 40 files altogether but I did them all at once by change the permissions of the folder and clicking "apply Permissions to enclosed files" but now I want to change them back to belonging to my user account so Opened a gksudo nautilus windows and I went on folder properties and set the permissions to [user] and clicked apply to enclosed files, but it only did the folder. I tried selecting all the files and changing them all at once that way but it won't let me, how can I make the files belong to me again, other then one by one? I dont know how to use the CLI that much.

View 4 Replies View Related







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