General :: How To Permanent Change Permission Of File

Jun 8, 2011

I have a c file, and I want to open it but not in the terminal. After changing the permission, I tried: vi, pico, ed and vim. But, all open it in the terminal. How can I change the permission of that file to be opened and edited not in the terminal? When I change the permission from the terminal, it only let me edit it through the terminal, and when I check the permission of the file I see it as was it (no change). I need a permanent permission. Although, I command as a root.

View 7 Replies


ADVERTISEMENT

Fedora :: How To Make Permission Change For Device Permanent

Jun 23, 2010

I recently compile Kernel 2.6.34 (to fix the AMD PowerNow issue with 1055T processor, and it worked!) However, the device
/dev/shm
starts up at boot as Read-Only.

Google Chrome requires this device to be user-writable, or it won't start up. Presumably, the stock kernels (and all that are updated) have it set to User-Write. I have not noticed any other ill effects with the permission being read-only. If I do:
sudo chmod a+w /dev/shm
Everything will work from there, but each time I reboot, I have to do that. How do I make that permission-change permanent?

View 5 Replies View Related

General :: Use Chmod To Change The File Permission?

Apr 24, 2011

If I am not the file' owner or root, can I use chmod to change the file permission?

Assume I have group/write access to the file, e.g. 775

View 2 Replies View Related

General :: Change The File Permission Of Grub.cfg?

Sep 15, 2010

My cd /boot/grub/ shows (required only file shown): -r--r--r-- grub.cfg

I tried to change the permission of this via, chmod u+w grub.cfg but the file permission did not change why??

How can I change the file permission of grub.cfg?

View 1 Replies View Related

General :: Can't Change Permission For Bash.bashrc File?

May 28, 2010

I tried following the example from here (http:url]......)Open up publicity.html for reading and writing by anyone.

Before: -rw-r--r-- publicity.html
Command: chmod og=rw publicity.html
After: -rw-rw-rw- publicity.html

Here's my terminal session:

username@ubuntu:/etc$ -rw-r--r-- bash.bashrc
-rw-r--r--: command not found
username@ubuntu:/etc$ chmod og=rw bash.bashrc[code]....

View 2 Replies View Related

General :: Change Default File Permission For Mounted Windows Network Share?

Jul 26, 2010

I'm on OS X and mount a network share from my Windows XP machine. Files by default have the rwx (700) permissions. What OS X option I need to change, that the files will have rw (600) permission?

Maybe this question also applies for Linux mounting a Windows network share.

View 1 Replies View Related

General :: Change A File In Filestarter Using Sudo /etc/rsyslog.conf - Permission Denied

Aug 4, 2011

I Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file

View 2 Replies View Related

General :: Make A Change In Grub Permanent?

Jan 23, 2010

When I enter my bootloader Grub I have to go to the system I want to load and press e to edit. Then I add vga=792 in the end of one line to change the tty resolution. How can I make this change permanent? My distribution is Debian Squeeze and there is no menu.lst in squeeze.

View 6 Replies View Related

General :: Edit Grub To Make A Permanent Change?

Feb 15, 2011

I need to add rootdelay=130 to my grub menu every time I boot up. how to edting (which) appropriate file to make a permanent change?

View 2 Replies View Related

Ubuntu Installation :: Etter.dns - Change The File And Try To Save - Permission Denied

Apr 18, 2010

I'm trying to configure my /usr/share/ettercap/etter.dns for dns spoofing with ettercap. but when I change the file and try to save it ubuntu says permision deneight Even when I try doing this from the terminal with sudo. It seems there is know way to change the file.

View 4 Replies View Related

Red Hat :: Change The Owner Permission Of File As "read Only" When The File Is Rcp?

Nov 25, 2010

I am trying to change the owner permission of file as "read only" when the file is rcp remote copy ) from server to another for security reason. Any way to change to permission as readonly access for owner and group ( 550 )when transfer the file using the rcp command ? I tested but still retain the original permission as source file.

Version : RHEL 5.2
Command : #rcp(local file)(/destinationserver/
/folder/file)

[code]....

View 3 Replies View Related

Fedora :: Make Group Change On Device Permanent?

Dec 31, 2009

I would like to make group changes on serial ports permanent. I can become root and use chgrp:

chgrp uucp /dev/ttyaa00

but it only lasts until reboot. I think I need to add this line to a startup file but not sure where. I want this to work in run level 3 and 5 (at least). I have a digi portserver and their realport software. The ports are /dev/ttyaa00 through /dev/ttyaa07 and are in group root on startup. I want them in uucp so any user in uucp can use them. This is for F10.

View 4 Replies View Related

General :: Change Permission On Directory?

Jan 4, 2011

I have 3 images made by clonezilla now I want to restore 1 of them, but when I try to use clonezilla to restore, there's no option to restore image. I can see the images in home directory and file is owned by root in my home directory. I'm trying to transfer image to usb hdd.

Did I place image in wrong directory or is it permissions problem.

View 8 Replies View Related

General :: Change The Permission Of /home Folder To 666?

Mar 17, 2010

By mistake I change the permission of /home folder to 666. when I run a $ls -la /home, it is showing following

[Code]...

dl3k is user name and having a folder in /home directory..now I cannot access/open the dl3k folder as a user.

I change the persmission to
# chmod 644 /home (default setting)
# chown -R dl3k /home

but still cannot access the content of /home folder as a user...

View 4 Replies View Related

General :: Possible To Change Users's Permission To Commands?

Mar 27, 2011

I got myself curious on the possibility to change user's permission to any command, or at least giving other users some command line "power".
It all started a few days ago, when another user here, had a problem so that the computer wasn't answering.
So, after waiting a while, chose to hit the Reset button and start the computer again.
Considering this situation, I thought myself that it would have been better to restart the computer, through command line, on any terminal (F1-F6). Anyway, this user is no administrator, thus wouldn't have permission to use the code...

So, is it possible to let other users to use such commands, in order to safe rebooting the system, without logging as root?

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

General :: Change Permission To /proc/net/ip_conntrack On Ubuntu Server 9.10

Mar 28, 2010

I have a script that needs to extract certain information form the /proc/net/ip_conntrack file once in a while. I do not wish to run this script as the root user.

Default permissions for the file is:

I can change it with:

But that does not stick after a reboot. Is there some configuration file for file-permissions in the /proc directory in Ubuntu Server 9.10? Or do I just have to stick a chmod line in some startup script?

View 1 Replies View Related

General :: Change Permission To Mount Disk At Rdesktop Ubuntu

Jun 15, 2011

I have ubuntu 10.4. i install rdesktop 1.7. i run this commands:

Tal is external hard drive connecting at usb in ntfs file system.

I connect to windows 7. i see the hard drive in computer and i can access to files and create new files and folders, but when i try to copy a new file to a folder he show me a error message: You need premission perform this action

Your require permission from computer's administratorn to make changes to this folder tal on my computername

Disk from Remote Desktop Connection.

I try chmode and chowne too but i read i linux forum when it ntfs is no use.

View 2 Replies View Related

General :: Cannot Change Directory To /home/oracle: Permission Denied

Nov 8, 2010

I am installing oracle 11g on Oracle enterprise Linux 5 i applied all the steps in doc [URL] when trying to switch user to user oracle i am facing the below

[root@oel5 ~]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied

View 14 Replies View Related

General :: Wrong File Permission / When Copy File

Oct 18, 2010

I have a C-function that create a file and then make a copy in the same directory, but somethin is wrong with permission or owners.The program starts as root user.The file creates by the program:

-rwxrwxrwx 1 root staff 199680 Oct 18 10:58 test

Ok, but after copying the permission is not the same.The file after copying (with new name) by the program:
-rw-r--r-- 1 root root 199680 Oct 18 10:58 test_copy

I want to have full permission of the copy, how to do??

View 2 Replies View Related

General :: NetBeans ( Php - Remote Project ) Change Permission Of Files To 0600 / Why Is So?

Jun 28, 2010

I'm using NetBeans for editing some php files ( in a php project ) at remote server.

all go normal, but when saving the edited file using NetBeans, the file's permissions are set to 0600 by default, making me not able to browse to the file at the remote server till chmod it to 0777 or else.

the main project folder have permissions 0777 and owned to me.
Also the all sub-folders and files under the project's folder have the same permission 0777.

What is the problem ? And how to get over it ?

I'm using Ubuntu 10.04, NetBeans 6.9 ( Final Edition ).
The Connection to the remote server is via FTP in Passive Mode.

View 1 Replies View Related

Ubuntu :: Share File Permission \ Some One Copy Their File In This Folder The Permission Is Marked As "no Group" "no Owner"?

May 18, 2011

I'm using ubuntu 11.04, I'm having some problem of ownership while sharing folder/files. to share i change the folder share option:1. Share this folder, then followed by 2.allow others to create and delete files in this folder3. guest access.Now if someone in my local network edit any file and save it, it gets locked. if some one copy their file in this folder the permission is marked as "no group" "no owner". and they get unaccessible to me. i tried doing chown <user> <folder> but it says Operation not permitted. Now how i can possibly share my folder on local network so that they can be edited by others without getting locked down , if they copy files i can able to modify them.

View 2 Replies View Related

General :: Not Getting All Permission On A File?

Jul 18, 2011

i have two different systems having centos and slackware OS's.when i mount files on centos system from server, i get all permission on files means(rwx),but when i execute same command on my slackware system, i get only read permission on file.
i use mount -t cifs //serverip/sheetshare /root/Desktop/sheet/ -o username=abc,password=abc.

View 1 Replies View Related

General :: How Is The File Permission Is Defined

Jan 18, 2010

how is the file permission is defined?

for example when i use the command list -l testp01.txt i get the result of testp01.txt file permission -rw- r-- r-- root root etc however i wonder where are those information written?

is there any special file which contains all of these information?

View 7 Replies View Related

General :: File Permission In CentOS 5?

Sep 26, 2010

I am creating a DVD iso of the mentioned six .iso file using 'mkisofs' in CentOS. During the process, at about 12%, an error occurred. The error was that: "Cannot read from '/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/P2P0/S4F0/eject'" I remembered setting all the permissions to "read and write" but I kept receiving the same error next time.

View 1 Replies View Related

General :: File Permission And Groups

Jul 17, 2011

I have been trying to to make the folder "/home/files" Read/write/Execute for the group "admin" and only Read for Group "Friends"

View 4 Replies View Related

Ubuntu :: Making Apt Cache Permanent By Editing Any Conf File?

Apr 8, 2010

I don't want ubuntu to clean /var/cache/apt/archives directory automatically... is it possible to make it permanent by editing any conf file?

View 5 Replies View Related

Red Hat / Fedora :: Setting Up Permanent Resolution In Xorg Config File

Mar 29, 2010

I am trying to set up a permanent resolution in the xorg.conf file. At the moment whenever I reboot the machine the resolution defaults to auto. How I can change that to be constantly at 1600x1200?

Here is my xorg.conf file.
Code: # nvidia-xconfig: version 1.0 (buildmeister@builder62)
Wed May 27 01:58:49 PDT 2009
Section "ServerLayout"
Identifier "Layout"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "stylus" "SendCoreEvents" # Added
InputDevice "eraser" "SendCoreEvents" # Added
InputDevice "cursor" "SendCoreEvents" # Added
InputDevice "pad" "SendCoreEvents"
EndSection .....

View 2 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related







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