Permissions are the unix way of controlling access to resources such as files, directories and devices and may be specified for an owner, group, or all users.

learn more… | top users | synonyms (1)

1
vote
1answer
85 views

What are all possible letters for Unix file permissions?

I'm trying to write a regular expression to match Unix file permissions returned by ls -l command. Here I found that all possible letters for the first field are d,c,l,p,s,b,D. Now, what are all ...
0
votes
1answer
69 views

New Linux server user permissions

I have been given ssh access to a new Linux server which has nothing more than the LAMP stack installed on it. It's down to me to install things like Drush, phpmyadmin etc and general configuration of ...
0
votes
0answers
81 views

samba share subdirectory prevent rename/delete operation

I have a samba share (ArchLinux with kernel Linux comp001 3.18.7-2-ARCH #1 PREEMPT Thu Feb 12 12:53:57 MST 2015 armv6l GNU/Linux and samba version Samba version 4.1.16)mounted in /mnt/data/, that is ...
0
votes
1answer
38 views

linux (general) file/directory rename/delete operations under os permission scheme

In linux, do file/directory rename/delete operations belong to write permission?
-2
votes
2answers
126 views

How to set the permission drwxr-xr-x to other folders?

I have few directores inside a folder like below - teckapp@machineA:/opt/keeper$ ls -ltrh total 8.0K drwxr-xr-x 10 teckapp cloudmgr 4.0K Feb 9 10:22 keeper-3.4.6 drwxr-xr-x 3 teckapp cloudmgr ...
0
votes
0answers
17 views

Desktop effects/graphics settings probably get reset after each reboot

I am using PC Linux OS, full monty(KDE) and probably after an update, I have started experiencing the following behavior: After each reboot, the Kresource migrate tool starts up, even though Akonadi ...
0
votes
4answers
52 views

What is the command to find the read/write permissions for a single file?

I know that ls -l lists the permissions of every file in a directory but what is the command if I want to see the permissions of just a specific file?
19
votes
5answers
3k views

Understanding UNIX permissions and their attributes

I've never really got how chmod worked up until today. I followed a tutorial that explained a big deal to me. For example, I've read that you've got three different permission groups: owner (u) ...
0
votes
1answer
53 views

access to USB drive broken after changing uid

Since changing my uid I no longer have the permissions to see a USB hardrive/stick that is automatically mounted at /media/USERNAME. Nautilus gives the message Unable to open a folder for ...
3
votes
0answers
235 views

Permission problems. Can't retrieve inbox mails from dovecot

I got a VPS server at a webhoster which has CentOS 6.6 as operating system. Because I have multiple domains which are used by various people this server is going to serve multiple roles: nameserver ...
0
votes
0answers
23 views

Ubuntu vsftpd user with access to folder in Desktop?

I am trying to create user for ftp (vsftpd) that has access to folder in Desktop/Stepan. I have tried searching for this but nowhere is how to give access to desktop. What should I type in Terminal ...
0
votes
2answers
51 views

Unable to view or change file permissions [duplicate]

I tried to view file permissions $ ll yaan/ ls: cannot access yaan/.: Permission denied ls: cannot access yaan/Nenje Nenje - TamilTunes.com.mp3: Permission denied ls: cannot access yaan/..: ...
0
votes
1answer
22 views

Allow inclusion of file in php but forbid reading/editing by user

I have a file.php that needs the be kept in secrecy, so its permissions are 700. What I'd like to do is maintain these permissions 700 but allow the inclusion of the file in other files. How can I ...
1
vote
1answer
50 views

Make files in a directory not visible to anyone

So I am a newbie in Linux(Ubuntu) and want to make files in a directory invisible to everyone. Through invisible I mean that the file must not show up when I use the find * command. Any Help? My ...
2
votes
2answers
61 views

Accidentally screwed up permissions big time — what should I do? [duplicate]

I'm not very experienced with Linux and I made a big, big mistake. I ran the following command: chown -R [ftpusername]:[ftpusername] / I meant to run this: chown -R [ftpusername]:[ftpusername] ./ ...
2
votes
5answers
117 views

Why can't I delete my files?

I copied some files from a data DVD to /home/emma (ext4), and all of the files are read only. This is what all of the files are like: emma@emma-W54-55SU1-SUW:~$ stat cd/Drivers/Drivers_List.rtf ...
0
votes
1answer
44 views

How to remove Linux permissions on files for emailing to a Windows user

A friend needed some help with LaTeX so I created some files, zipped it and mailed it. My friend (who is running Windows 8.1) could open but not edit the files I sent, due to write-permissions. I ...
1
vote
0answers
35 views

Capital S in file permissions [duplicate]

I issued the command sudo chmod 700 <directoryname> in the hopes of getting the permissions for that directory to look like drwx------ Instead, they look like drwx--S--- Why does this ...
3
votes
1answer
120 views

Can ACLs override file perms on Linux?

I struggled with this problem on FreeBSD recently, but thank God for ZFS which solved it for me there. However I have it again in CentOS with ext4 and don't know if there is an easy way around it (or ...
0
votes
1answer
16 views

What should file permissions be set to in order for an FTP editor to work?

I installed git on my server and cloned my development repository using the root user. The permissions appeared to have been set to: Files: -rw-r--r-- Directories: drwxr-xr-x I previously had ...
1
vote
4answers
179 views

'chmod g+s' command

Hello I want to understand the role of the chmod g+s command in Unix. I also would like to know what it does in this particular context: cd /home/canard; touch un; chgrp canard .; chmod g+s .; touch ...
0
votes
5answers
53 views

setuid (and other) permissions lost when copying / elsewhere - what to do?

I sort-of-cloned an existing Debian 7.x distro by copying the contents of the root filesystem (not the special dirs of course) to another HDD. I booted, things seem to run, but - I get some weird ...
0
votes
1answer
65 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
0
votes
0answers
78 views

grub permission error

I had some package and a kernel update today on my Debian work computer. When running sudo apt-get install I get the following: paul@icarus:~$ sudo apt-get install Reading package lists... Done ...
5
votes
5answers
507 views

What are the root permissions for a file?

If I type: ls -l file.txt I see that the rights for that file are equivalent to "456": 4 = owner (r--) 5 = group (r-x) 6 = others (rw-) Which the rights for root in this case? Does it have 777? ...
1
vote
0answers
77 views

Linux Executable with Unknown type asking to be executable every time I run it in Nemo

When I try to open an executable with the type Unknown I get a message saying: "The file 'file name' has no known programs associated with it. If you trust the source of this file, and have ...
1
vote
1answer
59 views

Crunchbang: Can't use simple-scan without administrator rights

I'm running the latest version of Crunchbang 64-bit on a Dell E5510 notebook. Installing my printer and scanner worked fine - I just used an existing Ubuntu tutorial. However, scanning without ...
1
vote
1answer
98 views

rysnc files and folders into a location without altering permissions

I'm using rsync to deploy some static HTML that is going to be served by nginx. The user that is running rysnc is "jenkins" nginx is using the www-data group to access the folder. jenkins is member ...
3
votes
1answer
42 views

How passwd command from non-root account succeeds

I am trying to change my password as a non root user : passwd The data is updated in /etc/shadow, but checking the permission i get: ---------- 1 root root 6076 Jan 27 17:14 /etc/shadow cat ...
0
votes
1answer
21 views

Permissions to see content

If the owner/group of a folder and/or is set to 0 0 (zero zero), can I see its content? I'm trying to access a directory with such permissions.
1
vote
3answers
105 views

Ownership of a mount point

I cannot create files in my newly mounted partition . The folder to which i am mount the partition, /media/hrmount, is owned by root so even if I add a fstab line like UUID=irrelevant ...
0
votes
0answers
42 views

Having trouble grasping Synologys permission system

I've got a DS1513+ running an LDAP server and I'm trying to get my permissions working. What I am trying to do is setting up a share all for myself. I created a share(d folder), lets name it ...
2
votes
0answers
39 views

Disable viewing/listing rights to users

I'm new to linux administration and I'm not sure how to search for this problem. When I create a new user, s/he can browse the filesystem. E.g. ll /. How can I restrict the user to a few select ...
0
votes
1answer
94 views

How to make directory writable?

I just installed apache2 and WordPress on my RPi. I followed this tutorial. After its successful installation, I moved on to customization. But when I upload any images, etc. I receive the following ...
1
vote
0answers
47 views

Linux: how to run a program with rw access to only a folder

How can I execute a program in a way that all the system is RO and only some folders are RW? Eg: steam (:P) roexec --rw ~/.steam steam Is there any tool that allows me to do this? I've tried mount ...
0
votes
3answers
49 views

What should the permissions be for website files?

I've locked down my CentOS web server so root can't SSH in. My website directories, and files are owned by root. So when I upload files, it's a two step process. I upload them with WinSCP to my /home ...
2
votes
4answers
307 views

Moving a directory from a user to another user, keeping the correct permissions

Let's suppose we have to users: alice and bob. Now Bob wants to move Alice's ~/Documents directory into his home folder. What's the best workflow to do that, updating the permissions (from Alice to ...
1
vote
1answer
76 views

Permission 0000 in /var/www/html through the sFTP

I can write in /var/www/html through the terminal in ssh, but to create a file by sftp through Filezilla, the file created have permissions 000. How do I fix this? My problem is with these ...
1
vote
2answers
30 views

Common user to modify files owned by 'other' users

I would like to understand how to use the permission system in CentOS to achieve the following: The system has the following users: user1 user2 user3 And the following directory structure.. ...
1
vote
0answers
70 views

ssh not using ~/.ssh/config, even after I play around with permissions

I tried modifying my ~/.ssh/config file to allow automatic fast X forwarding as per this site http://xmodulo.com/how-to-speed-up-x11-forwarding-in-ssh.html I then tried logging into a server and ...
0
votes
1answer
71 views

Hide directory listing? chmod 730 /home/share? [duplicate]

So I want to hide the listing of all files to a particular group, yet I want them to be able to create/read files in that same folder. The following permissions on the folder appears to work (write ...
1
vote
1answer
24 views

Why can't an SGID program read a file from the same group if it's used by another user?

The "wall" command has SGID for the tty group. The proba file has the tty group. The FS that has the wall binary has no SGID mount option. I thought the wall command would just output the proba's ...
1
vote
1answer
25 views

What is the difference between these two sets of command for configuring ACL permissions?

Hi I am wondering what is the difference between the two sets of commands below: 1) To allow Davis to access and modify all files and folders in the the home directory of John # setfacl -m ...
0
votes
0answers
46 views

Configure server such thata non-root user can deploy a Python web application (Django, Flask, …)

I have deployed a Django and a Flask app on my local Debian server where I have root access. A friend of mine has a server running Ubuntu server. I just have a user account there. Is there some way ...
0
votes
0answers
18 views

How can I set a folder undeletable but have R/W permissions to it's content [duplicate]

I have a directory which I'd like to mark as not deleteable, but have all the usual permissions of read/write/delete on all subdirectories and files. How can I achieve this? I tried setting the ...
0
votes
1answer
52 views

Sudo User: Not able to see the home directory of other users

I created sudo user hrsupport with following commands: hrsupport ALL=ALL, NOPASSWD: /bin/chown, /bin/chmod, /bin/chgrp, /scripts/pkgacct, /scripts/restorepkg How can I achieve this The hrsupport ...
0
votes
3answers
79 views

/etc/passwd permissions and GECOS field

The default permissions on Ubuntu (or even some BSD) distributions for the /etc/passwd file are 644. It is pointed out in questions like this that /etc/passwd is a sort of user database and it is ...
2
votes
1answer
138 views

Set group ownership on FTP upload via an ACL

I am interested in setting an ACL which will chown all the files I upload through FTP to the www-data group. However, after performing chown -R user:www-data /var/www/website.com/public_html/ ...
1
vote
1answer
41 views

Still able to read file after changing permissions

I've made a file as root, and written a string in it. Now I've changed mode to "0" like this: root# ls -al transit/ total 4.0K ---------- 1 root root 6 Jan 5 18:15 27050 root# If I try to tail, ...
1
vote
1answer
21 views

File permissions on uploaded files

This is hopefully a simple question. I have a VPS set up running LAMP and accepting FTP connections. the only problem with my setup at the moment seems to be that apache is denied access to uploaded ...