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
votes
0answers
9 views

File permission in Vituralbox shared folder

I'm new to ubuntu and the terminal. I installed mint 17 on vituralbox as the guest. After that, I created a shared folder and mount it on mint. sudo mount -t vboxsf share ~/host I also installed ...
0
votes
0answers
10 views

Make web project writable by netbeans [on hold]

I know about Make web project writable by apache and other user and I have the same problem, but the solution there is not working for me. I am new to Linux and it is difficult to understand why ...
2
votes
1answer
151 views

Why can't I remove the empty directory with username www-data? [duplicate]

The test is a directory which contains nothing, an empty directory. root@localhost:~# ls -l /home drwxrwxrwx 2 www-data www-data 4096 Apr 26 17:50 test root@localhost:~# ls -l /home/test ...
1
vote
1answer
40 views

reliable way to give all read/write access recursively in CentOS 7

What is the most reliable way to give all users read/write privileges for a given directory and all of its subdirectories and files in CentOS 7? In an eclipse web application project that uses ...
1
vote
1answer
35 views

Operation not permitted

I'm on OS X and I'm trying to write an interface for for an interpreter, the communication with the interpreter looks like this in PHP: $f = fopen('mmascript.m', 'w'); fwrite($f, ...
0
votes
1answer
16 views

Setting permissions on SMB

My router (Netgear DGN-2200-64) has a USB port usable as SMB storage (with the default firmware - I guess it's Linux under the hood). I plugged in an old flash disk (FAT formatted I think) & set ...
1
vote
0answers
13 views

Virtualmin, mounted disk under home directory, but having permission errors

I have a virtualmin installation in debian 7. My hard drive was full so mounted a second under home directory (/home/disk2) using fstab file. I created a virtual server and moved it to second drive by ...
1
vote
1answer
54 views

Sticky bit and users with sudo permission

Let's say I chmod 1777 a folder /opt/test and all files inside it as user user1. Hence user2 is able to update and edit files inside the /opt/test directory. When user2 operates via sudo, he's able ...
0
votes
0answers
21 views

Make a downloaded script automatically executable [closed]

I was making an script to send to a friend to fix some problems in his computer. I was thinking about give to file exe permits and my friend just have to double-click in the file, something like ...
2
votes
0answers
55 views

MySQL read only error but permissions set and SELinux AFAICT correct

I am new to MySQL and Linux and because I had issues with an old MySQL version (5.1) I used mysqldump and installed MySQL 5.6. I changed the datadir location by copying everything to the new folder ...
0
votes
2answers
21 views

Unable to perform write & execute actions on ntfs partition. Not even with root privilege. Using arch linux.

Unable to perform write & execute actions on ntfs partition. ls -l shows that user have only the read permission. Group any others have non. i tried to copy some text from home to windows ...
1
vote
1answer
20 views

Cannot log in to my Debian Wheezy 7 system

I have a Debian Wheezy 7 installation. When I turn it on it boots to the log in screen normally. However when I type in my username/password and try to login the screen briefly turns off for about one ...
4
votes
2answers
40 views

htop shows only the processes of the user that's running it?

On my old Debian Wheezy I see as a normal user without sudo all processes from all user in htop. On my new Debian Wheezy I only see my own processes. Old system kernel: 3.2.0-4 New system kernel: ...
1
vote
1answer
29 views

Set default permissions so only owner can read, execute and write for every new file and directory

I added this to my ~/.bashrc file: umask 077 So that every new file and directory has by default read, write and execute permissions. It does work with directories, but files only have write and ...
1
vote
2answers
22 views

How to investigate what is modifying a directories permission on Linux?

We have an Ubuntu 12.04/apache server and a directory in the "/var/www/foo" and root permission. Something is repeatedly changes the permission of this directory. Question: How can we investigate, ...
3
votes
3answers
91 views

Remove passphrase from private key and set specific file mode

If I set a passphrase on my private key like so: openssl rsa -des -in insecure.key -out secure.key and I remove the passphrase like so: openssl rsa -in secure.key -out insecure.key then my ...
1
vote
1answer
29 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
-1
votes
0answers
20 views

apache permissions

Would like to clarify a few things please. I run some Wordpress sites internally like so: root 9808 0.0 0.1 260180 9088 ? Ss 03:20 0:07 /httpd/bin/httpd -k start daemon 9809 ...
1
vote
0answers
14 views

Centos 7 FTP Hidden Directory Issue

After setting up Centos 7 with a web server standard install and LAMP stack. I installed vsftpd. Everything works fine and configured it to accept passive to enable gui ftp programs. However, when ...
4
votes
3answers
59 views

mkdir permissions do not correspond to umask (change depending on location)

Whenever I create new directories in my home (or its subdirectories) they do not have write permission, even though umask is set correctly. Files I make DO have write permission. [mmanary@seqap33 ~]$ ...
0
votes
1answer
35 views

Accidentally removed execute permission from root directory.

I accidentally did chmod 770 / which removed all access to the system. I booted to rescue mode, dropped to root shell and tried to chmod 755 /, but I get message changing permissions of /: read-only ...
2
votes
1answer
18 views

Can I use permissions or facls to limit the creation of files in a directory without limiting the creation of directories?

I have some directories with quite permissive permissions, which get cluttered up with files (scripts) created by lots of different users. I try to encourage people to create their own sub-directory ...
1
vote
1answer
74 views

Permission denied on mounted devices

I have checked many similar questions but the solutions didn't work for me. On my previous Debian wheezy installation I could mount devices from GUI with no permission problem and also after upgrading ...
0
votes
1answer
41 views

enable to write to file inspite we remove all file permissions

something isn’t clearly for me when I remove all permissions from file as chmod 000 I expected to get permissions denied when I write to file but still I can write to file as the following example can ...
1
vote
1answer
27 views

Understanding home folder permission

thisisme@ubuntu:/home$ ls -al total 28 drwxr-xr-x 4 root root 4096 4月 19 2012 . drwxr-xr-x 24 root root 4096 4月 9 12:34 .. drwxr-xr-x 66 thisisme thisisme 4096 4月 12 ...
2
votes
2answers
31 views

Broke permissions on /bin, /boot, and /dev; how to clean the mess?

I just made a terrible mistake, I tried to fix it by myself but I need some help. Due to a syntax error all files and folders permissions were being changed: thankfully I saw this while it was ...
2
votes
1answer
30 views

Why was it necessary to restart apache webserver to copy files via php on newly mounted filer?

Scenario allready running Apache Webserver 2.4.2 on Solaris 5.10 newly added nfs mount as target for copying files via php executing cp via shell with the same user as the webserver works copying ...
7
votes
4answers
271 views

Setting multiple groups as directory owners

On my server I have directory /srv/svn. Is it possible to set this directory to have multiple group ownerships, for instance devFirmA, devFirmB and devFirmC? The point is, I want to subversion ...
0
votes
0answers
45 views

DD-WRT: /tmp exec permission

After making a simple hello world OpenWrt package I installed it to the /tmp folder on the dd-wrt device. The program shows up in ls /tmp but when I try to execute it, it shows me /tmp/helloworld: ...
1
vote
1answer
31 views

How to automatically get write access to newly created directories?

A share on the server is defined as follows [share] path = ... read only = no create mask = 0777 directory mask = 0777 force create mode = 0777 force directory mode = 0777 valid users = dobiasd It ...
1
vote
2answers
33 views

how can i chmod the files based on the results from find command

I have a situation where I need to find the files having World Write (WW) permission 666 and I need to re mediate such files with 664 .. for this I have used this command find /dir/stuct/path -perm ...
0
votes
0answers
45 views

Directories and files changed to unknown type [duplicate]

After breaking my Debian jessie system with the mistyped command: # chmod -R 0644 / now I am using a live CD to backup my data but all the files and directories are of unknown type now and ...
1
vote
2answers
56 views

Broken system after chmod -R 644 /

I use debian jessie and I have done one of those bad mistakes and broke my system with a mistyped command and worse mistakes that follow in such situations. Trying to fix some permissions I ...
0
votes
1answer
39 views

Mess with permission files [duplicate]

i've written chmod 755 /etc/ and chmod 0644 /etc/ and now i find myself without access to anything,and inside the terminal where before there was username@system1: now there's I have no name!@system1: ...
0
votes
1answer
31 views

File permissions categories

So I am a little bit confused with File permissions categories. So here is what I do understand and correct me if I am mistaken. For every File , there is an Owner (one user) which have a symbol u ...
1
vote
1answer
26 views

Who can change ACL permissions?

I'm using ACL to control access to individual roots of webs for different instances of Apache and different groups of admins. I've got a Unix group admins-web22 for admins of a particular website and ...
-1
votes
0answers
28 views

store Unix file permissions on a VFAT partition

I want to use USB drives (DoKs as well as USB connected hard drives) to backup files from Linux systems in a way that: Does not require reformatting of the VFAT formatted drives, so space on them ...
1
vote
1answer
27 views

Oracle virtual box share folders when executing oracle command

I'm using Oracle Developer Days virtual box, which is a Linux distribution by Oracle for development environments (link). Not sure what distribution is it, but in case it was relevant: ...
2
votes
1answer
34 views

Why does chmod succeed on a file when the user does not have write permission on parent directory?

I am trying to understand file/dir permissions in Linux. A user can list the files in a directory using cd test ls -l Even if the user issuing above commands does not have read, write or execute ...
2
votes
3answers
59 views

Can a file be edited with the 'write' permission on it but not on its parent directory?

Suppose the owner/user doesn't have the write permission on a directory but he has it on a file under it. Can the file here be edited or not? If yes, is there any situation where the file cannot be ...
1
vote
1answer
34 views

Can I restrict sudoer nopasswd to directory?

Maybe I should rephrase - what is the most secure way to accomplish my needs? Details I am using WinSCP to modify my Apache document_root. The directory /var/www/html has an owner and group of root. ...
1
vote
1answer
17 views

sane does not work as saned but as root it does

I have a plug computer that I want to use as scanner server using sane. It already worked with a different plug, so I know for sure that the scanner and sane are workable together. If I issue ...
3
votes
2answers
75 views

Setting correct permissions automatically for certain file type when file is copied from non-Linux file system

The main reason I want this is my heavy use of dircolors, especially for ls --color=auto. For example, whenever a .mp3 file is copied from NTFS, it will have permissions set by umask 022 which ought ...
2
votes
0answers
17 views

Cleanup old /dev/pts files?

My company has a policy that sweeps all files on our AIX servers to see if any are world writeable. They are upset because there are some files in /dev/pts (a few with me as owner) that are world ...
0
votes
1answer
30 views

Unable to delete a file on different user's directory

I've two user's abc & xyz and the user abc has been added to the group xyz via usermod -a -G xyz abc and here the file permission on home directory of xyz i.e /home/xyz: drwxrwxr-x 2 xyz xyz ...
1
vote
1answer
60 views

Difference between owner/root and RUID/EUID

I am relatively new to the concepts mentioned in the question and reading about them from different sources only makes them more confusing. So this is what I understood so far: When we are given ...
2
votes
1answer
33 views

Why am I seeing a number as owner / group instead a name?

CentOS 6.x / OpenVZ Recently my VPS provider moved my OpenVZ container to a new server. After that move, I've noticed that files/directories for one of my user accounts show an odd owner / group. ...
0
votes
1answer
22 views

File/dir permission conundrum

I support a dev server for WordPress sites. Server is using the Nginx/php-fpm stack. I'm struggling with setting up file and directory permissions so that www-data has read and write access while our ...
2
votes
2answers
42 views

File owner changes after editing a group editable file

I use archlinux x64. I'm studying web development and in order to edit files served by Apache under srv/http, directory which Apache serves, I created a group adding my user and Apache's user so I ...
0
votes
1answer
66 views

Mount permissions

I want to do this: Mount a network folder. Read files from that folder. I'm doing something like: mount //10.19.6.40/folder/ /mnt/folder/ -o ...