Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies


ADVERTISEMENT

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

General :: RW Permissions On External HDD - Chmod: Changing Permissions Of `whatever': Read-only Filesystem

Mar 15, 2010

I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:

chmod: changing permissions of `whatever': read-only filesystem.

This is my mount table:

[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)

[code]....

View 6 Replies View Related

Ubuntu :: File Permissions Keep Changing On USB Drive

Jan 25, 2010

I use a USB drive to store most of my personal and work files, and I use it both at home and at work (two different machines, both running Ubuntu). The drive is encrypted, and is accessed using TrueCrypt (the entire drive is encrypted as a device rather than an encrypted file on the device). The TrueCrypt device is formatted as ext3/ext4.

I have a problem with certain file permissions being changed to read-only (rw-r--r--) after mounting the drive. This happens after I have used it on one computer, and then I mount it on the other. Even though I have been setting write permissions to all (chmod -R a+rw *) to get around this problem, when I mount on the other machine the write access is gone. I don't want to keep manually changing permissions; I would like the file permissions to stay as I set them.I'm using the same version of TrueCrypt at work and at home. I'm running Ubuntu 9.04 at work, and 9.10 at home.I do have different usernames on these computers, and I suspect that is the problem (but don't see why this would change file permissions for all users).

View 4 Replies View Related

Ubuntu :: Changing File And Ownership Permissions?

Jan 1, 2011

I installed Ubuntu from the alternate cd a few days ago to save space and resources on a very old laptop. (install command line, then add what I wanted) But I have struck an interesting problem with file permissions. Various programs like synaptic, leafpad, pcman, Banshee, all require I enter the root password to execute them (or sudo command from terminal). I want to change synaptic from root ownership to sudo and leafpad etc to execute without using the sudo command in terminal. I could get comments on the commands before I execute them in terminal and if I am introducing a security problem, as I am still learning bash. $ sudo chown sudo:sudo synaptic

I would still be asked for my sudo password before being able to open synaptic? As in standard Ubuntu instead of root password.$ sudo chmod 777 leafpad pcman Banshee All users could open these programs from the menu? I have my admin account and a general account which I use for everyday things like surfing the net and listening to music.

View 6 Replies View Related

Ubuntu :: Usb Stick Is Changing File Permissions?

Apr 8, 2011

I have two computers (one at work, one laptop) that I use daily. Both are running Ubuntu 10.04. I frequently use a usb stick to transfer files from one to the other. Somehow, every time I do this, all files get turned into executables (as if I did a chmod a+x on them...)

This happens every time I use the usb stick. I've reformatted the stick, but still this problem persists... anyone have any ideas on what is going on? It is really getting annoying to have to zip up folders so this doesn't happen...

View 7 Replies View Related

General :: Changing File Permissions While Doing Ftp?

Sep 17, 2009

I am trying to automate ftp to transfer files from windows to Linux server automatically and my script looks like this .

@echo off
SET CUSTOM=/apps12i/oracle/KIRAN/apps/apps_st/appl/custom/12.0.0/reports/US
echo user oracle> ftpcmd.dat

[code]....

Any files we transfer through ftp from windows , their default permissions to be set 755 automatically . We are using Red Hat Enterprise Linux AS release 4 (Nahant Update 7) .

View 1 Replies View Related

Ubuntu :: Directory Automatically Changing File Permissions

Jul 12, 2010

Is there a way to have a directory automatically change the permissions of a file that is written to it? I have a program which saves files to a directory, and gives those files read-only permissions to members in the group. This is a problem, because other users of my computer need to be able to edit these files. The directory itself has rw permissions for group members.

I guess what I am looking for is a way for the directory permissions to "override" the permissions the program is trying to save the files as. For example, if the directory has "rw" permissions for the group, then any file saved to it will automatically get the same permissions, regardless of what the program writing the file is trying to do.

View 3 Replies View Related

General :: Changing File Permissions And Authorizations

Jan 4, 2010

I first installed linux as ubuntu version 9.04 straight off of a Computer Active CD and liked it so started to delve into file permissions and authorisations, simple stuff I suppose just so I could feel my way around things for a while. Using the built in Ubuntu software centre I downloaded and installed a prog which handles authorisations and I found that very helpful but then through the update manager I installed the latest distribution update (9.10) and now find that the authorisation software only lists a couple of things that I can get to and consequently every time I mount one of my hard disks I'm asked for my admin password even though I am logged in as administrator which is a hassle,

a small one but there all the same, as a newbie I realise it must be me not understanding something but I just dont know what, also in the previous version right clicking on the logging out panel gave you an option to remove the 60 second shutdown or restart delay and that has disappeared in the new version, again its really only just a nuisance thing but I find that sorting out this sort of thing will help me to understand the system

View 5 Replies View Related

General :: Changing File Permissions Works As Root But Not As Sudo

Nov 22, 2010

I have a really strange problem. I have a few files in a large directory that I want to make readable by everyone. So I try this:

sudo find readme* -not -perm -o+r -exec chmod +r {} ;

and get this:

sudo: unable to execute /usr/bin/find: Success

I don't know why it says Success, because the permissions were not changed. I verified by typing this:

find readme* -not -perm -o+r -exec ls -l {} ;

and get something like

-rw------- 1 root root 536871076 Nov 22 14:06 readme_20101122200429
-rw------- 1 root root 536871892 Nov 22 14:08 readme_20101122200642
-rw------- 1 root root 293458128 Nov 22 14:10 readme_20101122200859

as a last resort, I tried:

sudo chmod +r *

and got:

sudo: unable to execute /bin/chmod: Success

and again Success really means fail. So, I gave up and logged in as root and tried:

find readme* -not -perm -o+r -exec chmod +r {} ;

This time it worked. Why?

EDIT: /etc/sudoers looks like:

## Allow root to run any commands anywhere
root ALL=(ALL) ALL
##Me
user1 ALL=(ALL) ALL

View 2 Replies View Related

Ubuntu :: Change File Permissions To Change Background Screen?

Feb 21, 2010

I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.

No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.

No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?

No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?

Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.

View 3 Replies View Related

General :: Vim - Avoid Changing A File's Linux Permissions When Saving Over A Samba Connection?

May 28, 2011

I have an Ubuntu development server and a Windows 7 workstation. I use Windows Gvim to edit files on the linux server, over a samba connection.Saving files from Windows change the Linux permissions in weird way depending on the Windows app I'm using and also depending on whether there's a file extension or not.Here are some testsNo extension; Notepad2: 644 to 764

matt@mattserver ~ % ls -l testfile
-rw-r--r-- 1 matt matt 0 2011-05-28 07:09 testfile
--- Save from Windows Notepad2 over network ---

[code]....

View 1 Replies View Related

Ubuntu :: Cannot Change Permissions To Execute File

Sep 26, 2010

im trying to execute a file. When I try i get the message:

The file ...Installer.exe is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run...

So when I right click on the file and select properties>permissions and check the 'allow executing file as program' it instantly unchecks the box. I can't check the box.

View 7 Replies View Related

Ubuntu :: Change The Permissions Of A File Within The Script

Nov 17, 2010

I'm trying to install a script and I need to change the permissions of a file within the script, but I am being denied from doing so. I know that I could change the password of ROOT, but I don't really feel like going through that again when I can just use 'gksudo nautilus' in Terminal. How can I change the permission without being on Root?

View 3 Replies View Related

Ubuntu :: Unable To Change File Permissions

Dec 4, 2010

I recently did a fresh install of Ubuntu Maverick, and have found a slight issue with file permissions. Before starting the installation I backed up all my files to an ext3 partition, then during the process I moved all of these files over to an NTFS partition that I am using as a joint storage location for both Ubuntu 10.10 and Windows 7. Upon booting into my fresh Maverick install I found that all the files on my NTFS partition are now owned by root and I am unable to change the permissions using the conventional methods I am used to. I have tried using the GUI method through the properties of the folder, I've also tried using chown and chmod, but all to no avail... No matter how I make the change to the permissions, it will always revert back to root within seconds. who desperately wants full read/write access back to their data?

View 9 Replies View Related

Ubuntu :: Mass Change File Permissions?

Dec 26, 2010

I recently backed up my home folder onto another HD. When I tried to transfer the files from the other HD back to the original HD after a fresh ubuntu install I noticed all my files were restricted to root access. Even after moving the files back via root access I can still only access them that way. Is there a way to mass change the permissions to all the files and folders within my original home folder?

View 9 Replies View Related

Ubuntu :: Change Default File Permissions?

Jul 3, 2011

my dad has been using Ubuntu for a few weeks now and likes it, however he's having some issues regarding read-only files. He's a doctor and frequently has to download word files to edit, however they always download as a read-only file. While this isn't particularly difficult to do, he finds doing it tiresome and because he isn't the most proficient PC user, may have difficulty with it when I return to school after the summer. I was hoping that there's some way to change the default settings so that all files downloaded are writeable.

Additionally, he has a number CD-RWs which he both retrieves files from and stores them to, however when trying to access these CDs he is told that they are read-only. Right clicking on the CD and trying to change the access permissions doesn't work (says that permissions can't be changed because the disc is read-only).

View 7 Replies View Related

Ubuntu :: Can't Change File Permissions Even As Admin

Sep 1, 2011

I've been having a very strange problem, and not sure for how long... but basically, my system wont allow me to change file permissions, even in root mode! I run Ubuntu 10.10 with Gnome and LXDE, kernel 2.6.35-30-generic. It's particularly problematic if I want to run some binaries or programs that you need a shell script to start up (i.e. any new version of Firefox). The usual right-click then going into permissions doesn't work, it just resets whatever changes I make. The weirdest thing is that using the chmod command as root also has no results! The files keep the exact permissions they had before...

View 4 Replies View Related

Ubuntu :: Cannot Change Folder / File Permissions On Entire HDD

Apr 17, 2010

I have two drives in my computer: a 160GB and an 80GB. The 80 holds Ubuntu, the home folder, etc. The 160 is for other files. I need to change the read-write permissions on the 160, but I can't. If I do it through the GUI (right-click>permissions) it just changes back instantly. If I do it through the command line (even with sudo), it has no effect.

View 5 Replies View Related

Ubuntu Servers :: Cannot Change File Permissions On Server

Aug 25, 2010

I'm working on a remote Ubuntu 9.10 server, which is accessed via VPN. I installed Joomla, but had difficulty uploading new components, which I traced to a file permissions problem. I used FileZilla to FTP onto the site and tried to make the chmod changes I needed, but the commands kept failing. Eventually, I contacted the sys admin and told him I thought that there was an ownership problem with the directories. He checked and told me that I was logging in with exactly the same user name and password that he was using (it's not a live system currently) and that he could make chmod changes without any problems. Because all my attempts were still failing, he eventually did the following:

chown -R administrator:administrator /var/www

/var/www is where all the Joomla files are stored and Administrator is the user name.Now I find that when I run a chmod command in FileZilla, the server reports that it worked (see below):

Status:Connected
Status:Retrieving directory listing...
Command:CWD /etc

[code].....

However, if I go back and check the tmp folder permissions, I find that they are still set to 777.This still looks like an ownership problem to me, but I don't understand why the server seems to think that the chmod changes are working, when they aren't.

View 4 Replies View Related

Ubuntu :: File Permissions / Ownership - Even Root Cannot Change

Aug 30, 2010

I have been VERY lucky and managed to restore from a formatted ext3 /home/ partition. I used testdisk to reset the original partition which had had nothing done to it since formatting(!). However some of the file permissions are a altered and I cannot change them. I have tried "su chmod" and even temporarily enabled the root account itself and tried to alter the ownership/permissions from root 'proper' without it helping.

Here is an example of the output of ls -l
drwxr-xr-x 2 martyn martyn 4096 (date) (time) sponsors
?-----S--T 63231 92820383 44090688 4286824785 (date) (time) order.xls

The first line looks like a normally formed output and indeed is readable. The second line looks corrupted and I don't have a clue how I can reclaim this - or even if it is possible. Should I count my blessings most of my files are intact and leave those be?

View 2 Replies View Related

Ubuntu :: Change Permissions On A File In /proc/sys/fs/inotify?

Sep 16, 2010

Trying to change permissions on a file in /proc/sys/fs/inotify. The command syntax are:

Code:
sudo chmod u+w max_user_watches
and the result is:

Code:
chmod: changing permissions of `max_user_watches': Operation not permitted Also tried to change it when logged in as root, same results. Parent directory permissions are dr-xr-xr-x, and are the same up the chain. Tried to change the directory permissions to u+w, that didn't work either. FWIW, /proc is part of the / partition, and it has ~600MB free space.

View 9 Replies View Related

Ubuntu :: Change File Permissions That A Program Has Created?

Nov 16, 2010

I have a program what creates files with a certain user and group as owner. How do I make files created by this program belong to a group I specify myself (I know I can chown and chgrp and chmod but I want the files to have a certain group from the beginning). Also I like to be able to specify permissions for these files.

Btw. it's not my own program so cant change the source code of the program to solve my problem.

View 4 Replies View Related

Ubuntu :: Can't Change The File Permissions Of Files And Folders

Nov 17, 2010

I've just read that I can't change the file permissions of files and folders if they are sitting in what was my old Windows D: drive. Is this correct? If so what is the work-around?

I don't want to have to cut and paste that entire D: drive's contents over to a recognised Ubuntu folder. I had in my mind that this D drive would continue to be my data dumping ground, to which I need read/write access to.

View 8 Replies View Related

OpenSUSE :: Can't Change File Permissions As Root

Sep 25, 2010

I just wanted to set some file permissions right. As root:

Code:
# chown -R kikinovak:users /home/kikinovak/Documents

But all I get is a series of "Operation not permitted" errors. What's going on here? I tried this:

Code:
# find /home/kikinovak/Documents -type d -exec chmod 0755 {} ;

... with the same strange errors.

View 3 Replies View Related

CentOS 5 :: Can't Change File/Folder Permissions?

Jul 7, 2010

I have two users: test1 and test2 When i logged in as test1, I can not change the ownership of a file to test1:test2 it says: Operation not permitted

View 2 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Ubuntu Installation :: Can't Change File Permissions On Fresh Install

Dec 12, 2010

I have just installed Ubuntu 10.10 64bit on my Qosmio Toshiba laptop.

At the completion of the install i had about a page of errors. But it boots up ok. However when i tried to install Visual Paradigm on the system i found that every time i ran the executable i get an error message saying access denied. Found away around this problem on a VP forum so managed to get the program to work with the non-install version.

The problem i am having now is i can save files. I have checked the permissions of the vpworkshop folder (properties > permissions) and all permissions are currently set to '---'. If i try and change them to 'wr'. It just reverts back to '---'.

View 3 Replies View Related

OpenSUSE Install :: Change Folder / File Permissions?

Jul 28, 2011

I've migrated to Suse from Mandriva. I installed all my backup folders/files to my "home" folder but they have come up locked. I remember in Mandriva to change the permissions I pressed Alt F2 and then entered a command. How do I do it in Suse?

View 8 Replies View Related

General :: Change File Permissions Of NTFS Drives?

Apr 10, 2011

any way to change file permissions of NTFS drives? All my C programming files resides in a NTFS drive and I need to set execute permision on them in order to run. I tired chmod -Rv 777 /media/Programming. and also tired chmod 775 *.* after entering the folder in which all my files resides. but both these commands doesn't seem to have any effect on the files. I know NTFS doesn't use Unix file system and chmod command goes in vain.

View 5 Replies View Related







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