General :: Permissions Command Needs Clarifying?
Apr 16, 2011
I've installed my os on a new HD, and it declines me permission to acces my Data dd. I seem to remember I should navigate to the drive and:sudo -R 777 *An additional quiry is the failure to recognise my certain password in this specific instance:
nnjond@Den-GeForce6100PM-M2:~$ su
Password:
su: Authentication failure
[code]....
View 12 Replies
ADVERTISEMENT
May 20, 2011
'the command I would use to change the group permission to write and the user and other to read and execute for the file "generate-report"' Sounds simple enough but I cant get it to work at all, tried doing a search in google and on the forums here to no avail. Is it possible to do in one command or will I need two?
Ive tried:
chmod g+w, uo+rx generate-report
And numerous other variants all with no luck.
View 3 Replies
View Related
Aug 7, 2011
I cannot mkdir on an ancillary HDD
[Code].....
View 2 Replies
View Related
Oct 18, 2010
and how to list all files in a directory including full path, owner, group and permissions for each file
View 3 Replies
View Related
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
Jan 4, 2011
commands trying to use
chown -R admin /path/to/folder
chmod u+rwX /path/to/folder
ubuntu@ubuntu:/media/mac/Users$ ls
admin Shared
ubuntu@ubuntu:/media/mac/Users$ cd
ubuntu@ubuntu:~$ sudo chown -R admin /media/mac/Users/admin
[Code]....
seems maybe my command might be incorrect?
View 1 Replies
View Related
Jul 15, 2011
I have a directory '/usr/local/games/quake4'. I want permissions for the directory, along with everything in it set to:
Owner: Create and delete files
Group: Access files
Others: Access files
What would I type in terminal to make this happen?
View 14 Replies
View Related
Jan 4, 2009
Im running samba on fedora core 7, im abit new to the server part of fedora, i set up samba and it runs well, only issue i have now is resolving permissions( User Rights)i have a shared folder which has alot of files and many subfolders in it, the files and folders in this shared foldr were copied from our old Novell Server through samba, i need to assign permissions to this folder where by a defined usergroup can have full read and write permissions to all the files and folders and sub-folders in the shared folder. i tried doing it in GUI but i realized there were over 1000 subfolders.is there a command i can run in the Terminal to help me assign the permissions?
View 1 Replies
View Related
Feb 22, 2010
Inspite of having 755 permissions on the chown command, it seems the command can be executed by the root only. I was under the impression that the 'x' permission for 'others' can give executable rights to the normal user too, which does not seem to be the case here. Just curious to know, if not the file perms itself, what controls the execution of the command?
View 6 Replies
View Related
Sep 10, 2010
What is the single command that will remove all 'other'permissions from all files and directories under /home.
Just starting to learn Linux.
View 1 Replies
View Related
Aug 11, 2010
How do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies
View Related
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
View Related
May 31, 2011
Problem: permissions for rsync and BackinTime. Setup: Ubuntu 11.04, Two internal HD, #1=main, single boot, #2=backup drive. Question: How do I set up my 2nd HD with correct permissions? Background: I had previously a dual boot XP+10.04 with a 2nd HD formatted as NTFS. With this I was able to use my rsync and backintime to my 2nd HD with no issue. My new set up is EXT4 on both HD.
(I even tried to reformat my 2nd HD as NTFS, but that didnt fix the issue) I followed [URL] to mount the 2nd HD and get permissions. But now when I run backintime i get this error: [E] Error: rsync: opendir "/home/myhome/.ssh" failed: Permission denied (13) I did my requisite reading for a newbie, and am stuck. I ran backintime as root, and it backed up ok. How do I run my user version of backintime? (i.e. How do I fix the permission issue?)
View 9 Replies
View Related
Mar 16, 2010
Is it possible to reset apache 2 permissions to default permissions I'm using Ubuntu 9.10 command line server, would webmin give me this access ?
View 1 Replies
View Related
Nov 4, 2009
I'm using my Linux (SLES 10) server as a File Server at this point. I need to set File Permissions to nested folders differently to different groups. For example:
homesharedengineering* should be read only for groupA
homesharedengineeringadmin should be read & write for groupB Plus read only for groupA
homesharedengineeringautocad should be read & write for groupC Plus read only for groupA
I've been using Webmin and Putty to set permissions but Putty only allows me the Default Group, it won't allow me to set several groups on the same directory. Webmin seems to allow me to add multiple groups (Webmin --> Others --> File Manager --> Info & ACL tab will provide extended abilities) but when I add multiple groups, they don't seem to take effect? I'm wondering if my setup at the 'Share' level or at the hierarchy of my folder structure (unix based) needs to be set specifically?
View 1 Replies
View Related
Nov 9, 2010
i want to know what is use or benefit of using s and t permission?i have used them but could not understand its uses.please explain me with suitable example.Also tell me about umask command to flag on s and t.
View 1 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Jul 3, 2009
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Jul 21, 2010
I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.
View 1 Replies
View Related
Jun 7, 2010
Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).
I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?
View 1 Replies
View Related
Apr 14, 2011
When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.
View 4 Replies
View Related
Nov 20, 2009
i'm trying to redirect the output of a command to the input of the next command. not sure if i'm going about this the right way. an easy method would be just to store the output of the previous command in a file and redirect input to read that file, but i'm curious to see if this can be done without writing to any files.
View 9 Replies
View Related
Nov 2, 2010
How do I set all *.java files in the current directory and all its sub directories to have read permission to all users?
I also want to set all files of at least 1 kilobyte in size in the current directory and all sub directories to have a group of admin.
View 4 Replies
View Related
May 26, 2011
How to use cp command without to overwrite target file permissionsFor examplecp /tmp/file /home/fileI dont want to change chown and chgrp on /home/file
View 2 Replies
View Related
Jul 11, 2011
My DocumentRoot is set to /var/workspace/www
drwxrwx--- 110 radek www-data 4096 Jul 11 11:34 www
Firstly i had 777 permissions on that folder (and all files inside), but i don't like it, because everyone can see it and change it.
As Apache runs under user www-data:www-data, i tried to set the group and permissions:
sudo chgrp www-data www -R
sudo chmod 770 www -R
After i done that, http://localhost started to show 403 - Forbidden. It just looks like apache is taken as "other" (from owner, group, other) in words of permissions.
What should i change (permissions, owners, whatever) to keep all files visible and changable only for me (user radek) and executable by apache?
As i can see, there's one Apache process running under root and many others under www-data.
radek@me:/$ ps -Af | grep apache
root 13165 1 0 11:37 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 13173 13165 0 11:37 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 13174 13165 0 11:37 ? 00:00:00 /usr/sbin/apache2 -k start
[Code].....
View 1 Replies
View Related
Jul 20, 2011
I am struggling to get dd to restore a disk image across a network. I imaged a hard drive using dd to an external drive but no longer have that drive. The image file itself is on another machine and the only drives I have are the single internal drives of each machine so I am trying to run the command over the network
[Code]....
The permissions on /dev/sda appear to be correct - root has rw access. I assume the problem is that the credentials for the remote account "user" are being used for "dd". Is this a syntax problem or do I have to change the permissions on sda to give write access to everyone? I don't know if changing the permissions affects only the running Linux or if anything is written to disk so I'd prefer not to make changes until I'm sure I'll be able to restore the image.
View 6 Replies
View Related
Oct 26, 2010
I have just installed Ubuntu on a machine at work and wondered how i can add a new user with the same permissions as the "main user"? I added a user via the "users&groups" gui but sorting permissions looks tricky.
View 1 Replies
View Related
Jun 25, 2010
I can not manage file/folder permissions for created shares. I need get access from Win system to Linux shares. Actually I have access to its, but only to read folders and files. I tried to change permissions in create mask = 0765 and set it to 0777, but no success.
1.Added user
# adduser samba
# smbpasswd -a samba #set his password
# smbpasswd -e samba #activating it
2. Installing SAMBA service
[Code].....
Folder /media/DATA/VIDEO not browseable and cant't enter it on Win system. It located on USB External HARD Drive, and attached to Linux system.
View 7 Replies
View Related
Jul 11, 2011
I connect through ssh (putty) using a user authentication public key stored on the ssh server in ~/.ssh/authorized_keys. Permissions for ~ are 750. When I change them to 757 I can't connect anymore - connection by key is not accepted by server. How is this possible?
View 4 Replies
View Related