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
ADVERTISEMENT
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
Nov 20, 2009
How do I permission a folder?I have a group called serveradmin..I want to add and give the group server admin write permissions to folder /logs.I know how to permission a file.. but changing the folder permissions isn't coming to me.I must add that I don't want to remove any of the current permission on the folder/directory.
View 1 Replies
View Related
Apr 24, 2010
I was always confused about the way it says that the execute permission for a directory means "able to list it". I just don't get it.Does no exec permission mean "still able to read files from in the directory, but not able to find out what files it contains" or what?
View 2 Replies
View Related
Oct 22, 2010
I have created user, group, gave permission chmod and chown with -R option. But when i try to enter into the directory for that created the user and group, I can not enter into.
View 4 Replies
View Related
Jul 20, 2010
Is it possible for listing directory and files' permission into numbers?
Generally ls command shows directory and files' permission as follows;
[root:maestro:/home/ddisk_net]# ls -al
Total 44
drwx------ 4 ddisk_net users 4096 7월 20 10:40 .
drwxr-xr-x 21 root root 4096 7월 20 10:28 ..
-rw------- 1 ddisk_net webteam 5 7월 20 10:40 .bash_history
-rw-r--r-- 1 ddisk_net users 33 1월 22 2009 .bash_logout
[code].....
View 9 Replies
View Related
Jan 18, 2010
I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".
View 11 Replies
View Related
Mar 3, 2010
I was wondering what is the difference between directory execute and read permission?Also, how do I recursively remove executable permission from a dir, but just apply it to normal files?
View 6 Replies
View Related
Feb 25, 2010
I'm having trouble breaking down permissions in linux. Here's the scenario. I have two users: UserA & UserB with each having to ownership and access to directories myDirA and myDirB respectively.
UserA --> /source/myDirA
UserB --> /source/myDirB
I need to set the permissions so that userA can access myDirA and myDirB. There are other users and directories but they should not be able to view outside of their own directories (which is the way it is now). I don't have groups set up for them and I'd rather not change anything else but just the permissions.
rwxr_x_r_x UserA
rwxr_x_r_x UserB
They're read/write/exec permissions are identical.
View 14 Replies
View Related
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
May 26, 2010
I'm trying to do something like thisi created a group called www and made this group the owner of the directory/var/www/htmlso i can read and write to it.of course I've add my self to this group, but it seems i can't read and write.the syntax i used was something like chown :www /var/www/html.didn't workonly when i used chown samurai:www /var/www/html i could finally could create new file.the reason i don't want to specify the user name is because I'm thinking of a scenario when i need to give permission to a large group of ppl and don't want to do it user by user.
View 5 Replies
View Related
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
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
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
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
View Related
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
Mar 27, 2010
i am not able to mount a pen drive (which is formatted in ext2 format) with directory permission drwxrwxrwx and file permission as -rw-rw-rw.
View 3 Replies
View Related
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
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
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
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
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
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
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
May 14, 2010
When login through root on HP-tru Unix server, I am trying to access a directory, it is saying "Permission Denied".. Also, an sh file is also not able to execute through same root access..I have checked the permission of the directory as well as for sh file through ls-ltr.. It is also fine.. Root System rwx-rwx-rwx--What could be the possible cause, and how to correct it..
View 1 Replies
View Related
Jan 6, 2010
I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -
Code:
login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$
Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.
View 14 Replies
View Related
Jun 29, 2010
In the old days of M$-DOS, there was the NCD (Norton Change Directory) utility. Anything of the sort in Linux?Explanatory note: you typed out the name of the directory you wanted to go to, that is, last element of the dir path.And you were, ipso facto, in that dir. If that was the only one by that name, good. When not, and if that wasn't the intended dir, you typed the same command again and you were in a second dir of that name. If this was the intended dir, good. And so on. It simply maintained a data base with the whole tree, and updated it when invoked from a newly created dir o by means of an option, NCD/R.
View 14 Replies
View Related
Jul 27, 2010
I can change to a nother directory in home folder using cd command.I have several partitions in my hard drive.But i want to know ho to cheng to a directory in nother partition or flash drive using command line.how can i do that
View 6 Replies
View Related
Jun 29, 2010
want to change my log server directory /var/log/secure to any other places.
View 1 Replies
View Related
Jun 1, 2010
I'm often deep inside a directory tree, moving upwards and downwards to perform various tasks. Is there anything more efficient than going 'cd ../../../..'?I was thinking something along the lines of this: If I'm in /foo/bar/baz/qux/quux/corge/grault and want to go to /foo/bar/baz, I want to do something like 'cdto baz'. I can write some bash script for this, but I'd first like to know if it already exists in some form.
View 4 Replies
View Related