Ubuntu :: Change File Permission Settings To Force All Documents To Inherit Parent Document Settings?

Aug 21, 2011

i have a computer with 3 users on it, and a folder using samba that everyone on the network has access to. Lets say that, the folder is stored in /etc/sharedfolder. What happens is, when user1 puts a folder in it, then logs off, user 2 attempts to modify it and fails, because permission is set to 755, and they are not in the same group. (even if they were, it should still need to be 775) Anyway, my current solution is, every 5 minutes a crontab changes permission like so: chmod 777 -R /etc/sharedfiles && chown useradmin:superadmin -R /etc/sharedfiles Which works, but seeing as there is getting close to a gig in there, this is a bad solution, as it eats up the computers resources. Solutions that i think might work:

1) create a script that only changes permissions that need be changed.
2) change file permission settings to force all documents to inherit parent document settings

View 9 Replies


ADVERTISEMENT

General :: Make New File Permission Inherit From The Parent Directory?

Jun 12, 2010

I have a directory called data. Then I am running a script under the user id 'robot'. robot writes to the data directory and update files inside. The idea is data is open for both me and robot to update.

So I setup the permission and owner group like this

drwxrwxr-x 2 me robot-grp 4096 Jun 11 20:50 data

where both me and robot belongs to the 'robot-grp'. I change the permission and the owner group recursively like the parent directory.

I regularly upload new files into the data directory using rsync. Unfortunately, new files uploaded does not inherit the parent directory's permission as I hope. Instead it looks like this

-rw-r--r-- 1 me users 6 Jun 11 20:50 new-file.txt

When robot tries to update new-file.txt, it fails due to lack of file permission.

I'm not sure if setting umask helps. In anycase the new files does not really follow it.

$ umask -S
u=rwx,g=rx,o=rx

I'm often confounded by Unix file permission. Do I even have a right plan? I'm using Debian lenny.

View 4 Replies View Related

General :: Cannot Inherit The Permission From Parent Folder To Child

Apr 26, 2011

I have setgid permission on my home directory (/home/XXXX) the permission look like below.

Code:

drwxrws--- 2 toshi jadu 4096 Apr 26 16:54 getset

If I create new directory in this getset folder the permission of getset folder could not inherit.

Code:

#cd getset
#mkdir test2
#ls |grep test2
drwxr-s--- 2 toshi jadu 4096 Apr 26 16:56 test2

As I know the setgid utility allow to inherit the permission from parent directory to child directory.

View 4 Replies View Related

Ubuntu :: Change The Folder Permission Settings?

May 3, 2010

I'm trying to move a file to opt folder. But I cant do it because I dont have the permission to do it. In folder preferences it says " you are not the owner"How can I move a file to opt folder? or How can I change the folder permission settings?

View 8 Replies View Related

Ubuntu :: Inherit Parent Folder Permissions When Copying Files ?

Mar 28, 2011

I do have an Ubuntu Headless server which is running Samba on it. My mp3 file collection resides on that server on is being share.

So far, no problems connecting to that drive and writing from my Windows box on that share. But if I use my main laptop, which runs Ubuntu Lucid and download an mp3 song from Amazon, the moment I move that to the share, I got permissions problems from the Windows machine. This is clearly a permission issue with group and others; the song is being created on the share without read and write permissions to others or the samba group I created.

My question is. How can I make this process simple or automatic, when moving songs to the share? I don't want to go there everytime and run ...

Code:

Which was basically how I reset or fixed the problem.

I've read about umask, but not sure if that applies here or not, because I'm not creating the file but moving it.

View 5 Replies View Related

Ubuntu :: Can't Change Settings Of Read Only File System

Oct 2, 2010

When trying to copy files from a local folder into a directory that is a mapping of my QNAP server I get an error message " Read-only file system" - and this only since a couple of days.Trying to change ownership with sudo chown also failed.

View 9 Replies View Related

Ubuntu Installation :: Stuck At Importing Documents And Settings?

Jul 18, 2010

I recently had to reinstall Ubuntu on my second Hardrive. (As before I used the Windows installer, and only had 30 GB, when I tried to fix this, I ended up accidentally deleting everything.) Anyway, I started to install, and I selected the option to import documents and settings. Well, now it's stuck at 83% and it says "Importing Documents and settings" It has been like this for about an hour now.

I am importing from WIndows 7 on my first Hard Drive, to my new installation of Ubuntu 10.04 on my second hard drive. Help is much appreciated. I really just want to get back to Ubuntu. Using Windows 7 the past couple of days has been pure hell. I hate my PC freezing every 2 seconds, and hoarding my RAM like candy. Ubuntu for me was pure heaven, and I would like my sanctuary back.

View 4 Replies View Related

Ubuntu One :: Change Upload Settings So That It Only Uploads 1 File At A Time

Jul 15, 2011

Is there any way to change ubuntu one upload settings so that it only uploads 1 file at a time. I have slow upload speeds and the files don't always make it.

View 1 Replies View Related

Security :: Way To Force The DNS Settings

Oct 18, 2009

I am using openDNS on my current Linux box and I was wondering if their is a way to force the DNS settings to stay the same even if ROOT tries to change it (since my dad wants content filtering password protected and I still want my computers root access...)

View 2 Replies View Related

CentOS 5 Server :: Apachewithdocx - Microsoft Documents Wants To Open The File Like A Zip-file Not As Word Document

Jul 13, 2010

I've a webserver with a lot of documentary to serve. Some of the users have problems with the new microsoft documents like docx. Internet explorer 7 want to open the file like a zip-file not as word document. I've googelt around and found a solution that didn't work for me: [URL] I've added at /etc/mime.types

[Code]....

After a restart of httpd , nothing chance, always the same failure with internet explorer 7.

View 4 Replies View Related

Ubuntu :: Documents Directory Now Link File Linking To /home/user/Document And Inaccessible

Nov 11, 2010

I just realized that the "Documents" folder in my home directory has changed to a file which is a link to the /home/user/Documents and it is unaccessible. It does not (no longer) show in the "file browser" when I try to click it from "places" it says:

Error: Could not open location 'file:///home/user/Documents' No application is registered as handling this file When I list from the terminal (i.e. %ls -ltr ) it list the file (which was suppose to be the directory) as

lrwxrwxrwx 1 user user 24 2010-11-01 18:20 Documents -> /home/user/Documents

NB. user in this case is my user name on the system, I am just using user for this forum. how to retrieve the information from the folder and remove the linked file to remain with the original folder

View 5 Replies View Related

Ubuntu :: Reset Compiz Settings From Command-line To Default System Settings?

Jan 31, 2010

Did you play too much with compiz and after-a-while you realize that certain functions are not working anymore?

Well, just follow the steps below:

Quote:

gconftool-2 --recursive-unset /apps/compiz

Then,

Quote:

Restart your PC / lappy

[URL]

View 4 Replies View Related

Ubuntu :: Re-installing Ubuntu Without Moving Documents And Changing Settings?

Aug 11, 2010

I want to re-install my 10.04 because Anthy (app to write in Japanese) won't work any more, whatever I try; how do I proceed? I'd like to find a way to keep my files/Firefox settings and bookmarks etc. intact during the re-install, just like I upgraded from Koala to Lynx. Is that possible? If so, how do I do it?

View 4 Replies View Related

General :: Fedora 13 - Cannot Get Any Of The Resolutions Settings To Look Right On Separate X Screen With The Nvidia X Server Settings Gui

Aug 21, 2010

I am using Fedora 13 x86_64 on a Acer Aspire 7730ZG laptop with: 01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 9300M GS] (rev a1) I have kmod-nvidia-2.6.33.6-147.2.4.fc13.x86_64-195.36.31-1.fc13.2.x86_64 installed from rpmfuison when I plug in the hdmi cable to the tv, my tv says the resoultion is at 720p, and I can not get any of the resolutions settings to look right on seperate x screen with the nvidia X server settings gui. my tv is a vizo 42inch. also another question is their a way to set the video card to output at 1080? this might be part of my problem?

View 14 Replies View Related

OpenSUSE :: Sharing Of Chromium Settings / Share The Browsers And Email Settings?

Sep 28, 2010

I have a triboot windows suse 11.3 stable and suse 11.3 factory pc, I would like to share the browsers and email settings between the suse stable and factory, I succeed with thunderbird and firefox moving the /home/.thunderbird and /home/.mozilla in an ext3 shared partition and linking these in the respecive /homes, I found that there isn't a /home/.chromium folder, I found probably /usr/lib64/chromium could be the same as /home/.mozilla for firefox, but I don't know if is secure or can damage my system to move this in a ext3 partition and then link this to the respective /usr/lib64/chromium, /usr/lib64/chromium has root owner, root group, visible and modifiable for root and only visible for group and other.

View 5 Replies View Related

OpenSUSE Install :: Saving System Settings (yast Settings)

Apr 1, 2011

Is there a way I can save system settings and have yast revert to a config file in case I ever need to reinstall the system again? I hate having to configure the firewall, runlevels, samba shares, samba workgroup, apparmor, and all the other junk after every install. It's not like I install often, but should suse 11.5 or 12 roll out, I'd like it to be a snappy upgrade.

View 6 Replies View Related

Hardware :: Gpointing-device-settings Settings Will Not Stay After Reboot?

Oct 18, 2009

I am running a debian squeeze machine on a ibm t40 laptop with window maker as my window manager. I am using gpointing-device-settings as a program to get the scroll bar on my touch pad working. unfortunately, I can't get the settings to stick after i shutdown and turn on. I have to go into the program and unclick then reclick the button. i'm using version 1.3.2 (ive tried both deb and source versions). does anyone have any ideas on how to fix this? and if there is any configure files that I could configure instead of having to use the gui program.

View 4 Replies View Related

Ubuntu Installation :: Unable To Change BIOS Settings Due To Which Can"t Change Boot Preference?

Mar 24, 2011

I currently have a Windows XP OS which i want to dual-boot with Ubuntu Linux 10.10 . I put the disk in the drive and chose the option to install Linux through Windows. But it hangs in the middle. I am also unable to change my BIOS settings due to which i can"t change my boot preference. My first Boot is the HDD. I want to change it to CD-ROM. Any suggestion? I also have another PC where i can boot through the CD...I tried installing there by booting from the CD but i get this error message after seeing the purple Linux screen with the loading dots. "(Process:286):Glib warning**:getpwuid:failed due to unknown user id (0)

P.S.- I am not able to see any options while the boot is going on

View 5 Replies View Related

General :: Permission Denied When Creating File (Input Document)

Jul 11, 2011

I am trying to create:

/etc/X11/Xsession.d/95xinput document
where
/etc/X11/Xsession.d is a folder.

So I enter the above commands:
cd /etc/X11/Xsession.d
nano 95xinput

I type my text and when I try to save it it says that permission is denied.

View 7 Replies View Related

Ubuntu :: How To Change Auto-run Settings

Jun 30, 2010

Tried to Google an answer but it seems the 'System' menu options have changed in 10.4 compared to older versions.I want to chnage the auto-run settings so that each time I enter a CD, Rhythembox DOESN'T load but SoundJuicer DOES

View 1 Replies View Related

Ubuntu :: Change Settings So Log In Without Password?

Dec 31, 2010

when I installed 10.10 I chose ask for password on login but I want to now just be on when I turn on the computer without asking for a password. how can I do this?

View 3 Replies View Related

Ubuntu :: Can't Change The Display Settings?

Feb 24, 2011

I received Ubuntu 10.10 (a friend gave me the cd) Well, I installed, but I can't change the display settings: the maximum it gives is 900x600 So, I went online and looked for a fix.. I found this:

Code:
Sudo dpkg-reconfigure x server-xorg

Well, the problem is that according to the steps that the person who posted the code, I should type this code after executing Terminal before computer boots. and the way to execute Terminal is to have the key: escape holded Well, I do hold the key: escape. but I see no terminal! I have typed in normal mode...but, I guess the code only works before boot up. How can I execute terminal? is there any other way to fix the display settings? I currently have Windows Xp and Ubuntu.... and I have no problem with the display settings on Xp Can I do do from recovery mode?

Because I have 2 operating systems I get a screen like this (except mine is ubuntu 10.10) If I do it from the recovery mode.... would the code works?

View 1 Replies View Related

Ubuntu :: Only Network Settings Change - 9.10

Jan 21, 2010

I am having ubuntu 9.10, but I need to add user that have right to change network settings only. how to do that task ?

View 1 Replies View Related

Ubuntu :: Advanced User Settings / 'Connect To Ethernet And Wireless' Option Of The Advanced Settings?

Aug 12, 2010

I'm trying to create a user account for my children in Ubuntu 10.04

When creating their account, I have turned off the 'Connect to ethernet and wireless' option of the Advanced Settings.

However, when I log into their accounts, they still have full access to the internet through both the wireless and ethernet connections. Is this option for some other purpose?

Is there an alternate way to limit internet access for childrens' accounts in Ubuntu? (I'm used to MS Family Safety as a filter for internet access - is there an eqivalent for Ubuntu?)

View 2 Replies View Related

Ubuntu Networking :: Change Any Settings In 9.10 To Allow For 1000 Mbs?

Apr 5, 2010

I have a few computers on my home network and I want to get them running at 1000Mbs Both my Ubuntu Machine and my Mac already have the hardware to run at that speed but my switch is 100Mbs so I am going to buy a new 1000Mbs switch. Do I need to change any settings in Ubuntu 9.10 to allow for 1000Mbs networking?

View 1 Replies View Related

Ubuntu :: Can't Change Settings For Gnome-terminal In 10.04?

May 12, 2010

Editing the profile in gnome-terminal has absolutely no effect on the appearance. I can change background color, transparency, image, etc. in the profile edit window, save changes,and the _actual_ terminal appearance does not change at all. I did make sure to switch to the edited profile after editing -- to no avail.The default navy-on-light-blue isn't bad, but the light-green default for executables is effectively completely invisible on the light blue background.Is this a bug? Or does someone have a workaround?FWIW, gnome-terminal in 9.10 was completely customizable

View 3 Replies View Related

Ubuntu :: Change Toolbar Icon Settings On 10.04 LTS?

Jun 26, 2010

I have installed the new Ubuntu 10.04 LTS and do not see where I can change the toolbar icon settings such that I only display icons, not text labels beside the icons. Does anyone know how to fix this?

View 2 Replies View Related

Ubuntu Networking :: Can't Change Wireless Settings

Sep 11, 2010

I got this Acer Revo 3610 nettop about a week ago. I got it to use as an htpc, and decide to do an install of xbmc live on it. I have everything set up the way I want it at this point, but I'm stuck on trying to configure the wireless.

I'm not sure where I should start troubleshooting this thing, but something about this seems off to me.

Code:
xbmc@XBMCLive:~$ sudo -s
root@XBMCLive:~# iwconfig ra0 mode Managed
root@XBMCLive:~# iwconfig
lo no wireless extensions.

[Code]....

View 7 Replies View Related

Ubuntu Multimedia :: Change Mic's Without Changing Settings?

Sep 18, 2010

On a Dell 14n, 10.04. Mic problem: To use the mic jack/external mic, I need to have MIC 3 selected at SYSTEM/PREFERENCES/SOUND/INPUT To use the built in mic, I need to have MIC 1 selected

How can I get these mic's to work w/o having to change the settings each time I want to switch mic's.. so that if the mic jack is plugged in, then the external mic works. and if the mic jack is unplugged, then the built in mic works.

View 9 Replies View Related

Ubuntu Multimedia :: How To Change The Rhythmbox Settings

Oct 27, 2010

i installed Ubuntu 10.10 yesterday, and cannot find the answer to my question. I have a whole music library of mp3's on a secondary drive that I want to use in Rhythmbox. However, in Rhythmbox's Music Player Preferences I can't get either the Library Location to change from "Multiple locations set" or the Preferred format to "CD, Lossy mp3".

When I go into Edit>Preferences>Music, where it says "Multiple locations set", it is greyed over (I think that's the term. You can't access it.) When I go into the Preferred format, mps isn't there, but it does show up in another window when I click on edit; however, the only options I have there are 'Close' and 'Help'. The help button brings up another window and syas its loading, but stays in a loading mode forever.

View 4 Replies View Related







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