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)

0
votes
1answer
11 views

How to give user access to specific folder in home directory

I'm trying to set up a 'deploy' user on my VPS (running CentOS 6 and cPanel) which needs to have access to a specific folder from another home directory: /home/nazeem/public_html/staging. I've ...
0
votes
1answer
26 views

Directory permissions for web server

Hi all I'm fairly new to permissions in a web server environment so please bear with me. I'm experiencing a problem (I believe) having to do with permissions to a directory on my server. The file ...
0
votes
1answer
20 views

user access to private directory

User1 should have write access to to download a file “person” to rooted directory, /bucket, but not being allowed to do anything else to the directory. User2 needs read access to file “person” in ...
1
vote
0answers
17 views

Set hostname without root, and without CAP_SYS_ADMIN

I have an application that I want to be able to change the hostname in Linux. Currently doing so by running the hostname command. I don't want to set CAP_SYS_ADMIN either. I also don't want to edit ...
3
votes
2answers
70 views

What is nobody nobody user and group?

On my server (Synology DS212) some files and folders have nobody nobody users and groups. What are the characteristics of this user and group? Who can write of read this file? How can I change it ? ...
1
vote
0answers
10 views

Dealing with git permission errors on root mounted partition

I am trying to clone a git repository from my home directory to a cifs partition, but I keep getting this file permission error. [cguest@devserver groupmount]$ pwd /mnt/groupmount [cguest@devserver ...
2
votes
1answer
41 views

Why can't a group member create a file in a directory with 760 permissions? [duplicate]

I have an account with secondary group membership in a group that owns a directory. The directory is chmod 760, which should allow writing to the directory, but not listing it. However, this is not ...
2
votes
1answer
25 views

How to set up users, ownership and permissions across local and remote servers?

I've been learning the Linux OS over the last year or so and I am still very confused on how permissions vary from different configurations. I am trying to set up my local development environment and ...
0
votes
1answer
25 views

Solaris 11.2 extended permissions shown by ls

I have a file that shows up as having extended file permissions. ls -V /usr/share/X11/app-defaults/XScreenSaver rwx------ 1 root root 53 Dec 2 21:52 ...
1
vote
0answers
13 views

How do I move a vmware guest machine to another user?

I have 2 users in my computer running Arch Linux. I recently moved a virtual installation of windows 7 from one user to another. I changed the owner of the moved folder to the new user recursively. I ...
0
votes
0answers
27 views

Difference in the permissions of the file created by SSH and SFTP

I have a question and want to know how can I fix it so that the files created by SSH and SFTP by always have the same permissions in the case is 0644 for files. It is possible to make the permissions ...
0
votes
0answers
5 views

Why is does proc_create mode argument 0 correspond to 0444 [migrated]

I am a newbie to kernel programming and am trying to userstand procfs. I have googled several examples and they all use: proc_create("hello",0,NULL,&proc_fops); where the second argument is the ...
0
votes
0answers
7 views

Permission mystery: NetATalk on Debian requires rename?

I've got a Raspberry Pi running OpenHab for my home automation. OpenHab has a designer that can configure the system. Up to now I've been running NetATalk on the Pi, sharing the files to my Mac which ...
0
votes
2answers
30 views

Delete/repair files with weird permissions/owner/group

I have the following files (output of ls -l): ?rw------- 6144 1684128777 2049835008 50331648 Jan 1 1970 image1.jpg br-xrwSrw- 25120 1987343475 1936028517 110, 110 May 30 2032 image2.jpg ...
0
votes
2answers
22 views

Running two instances of Apache as separate users — permission denied

I followed these instructions (somewhat) on configuring two instances of Apache -- we have internal apps and third party programs (WordPress, etc) running on same VM so for security and performance ...
0
votes
1answer
18 views

Permissions Issue for A Symlinked Directory

I have a web application running on Ubuntu 14.04. The app's deployment service creates separate users, groups and permissions automatically when deploying the app to my server on AWS. The app runs as ...
2
votes
1answer
17 views

Let root read all files on NFS directory, even though server has root_squash enabled

I have a NFS directory that is used by multiple users, and hosted on a NFS server that I do not control. I would like to back up the contents of the NFS directory from my client machine. My first ...
2
votes
2answers
52 views

Move file to another user's home directory (without sudo)?

I have a couple of files that I want to move to another's user home directory. I don't have permissions to write to that user's home directory, but I know his password. I know how to copy the file ...
0
votes
2answers
48 views

bash permissions - unknown problem

So strangely enough I have the following problem in a directory inside a script: #!/usr/bin/env bash MAIN_DIR=/home/ec2-user/dir/ LAST_DIR=$(ls -d -t ${MAIN_DIR}*/ | head -1) When I run it I get: ...
2
votes
2answers
36 views

Set default permissions by file type (at least in Vim) [duplicate]

When I create a new script, I always have to manually add executable permissions with chmod +x foo.sh. My default permissions are set to 644, and but I'd like any file with extensions like .sh .py to ...
0
votes
0answers
10 views

SMP Linux regular user service command permissions

I'm having a weird situation with three of our cloud based VMs. They differ slightly from our other systems. The systems we are not having issues with read as follows: Linux nyc-dev 3.2.0-4-amd64 #1 ...
1
vote
3answers
101 views

how to set up permissions of “download” dir to prevent execution of exploit program

There is a host with a local service that receives data from a remote location (via e.g. http) and saves it locally under /var/log/data/ in some mydir. $ ls -al /var/log/data drwxr-sr-x+ 4 root ...
2
votes
1answer
63 views

Is it possible to access any file or dir within a non-accessible directory? [duplicate]

Say I set my home /home/john directory as not readable for any other user. But I've forgotten to do so with some files within that directory, say ./.bashrc or ./Downloads/Presentation.ppt. Now, if ...
1
vote
1answer
69 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
55 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
48 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
20 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
46 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
12 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
49 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?
15
votes
4answers
2k views

What does a 'd' stand for in UNIX file permissions [duplicate]

I've never really got how chmod worked up until today. I followed a tutorial that explained that youve got three different permission groups: owner (u) group (g) everyone (o) I've also learned ...
0
votes
1answer
33 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
130 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
18 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
34 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
21 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
35 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
53 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
106 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
35 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 ...
2
votes
1answer
71 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
9 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
63 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
44 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
34 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
47 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
492 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
56 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
29 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 ...