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
0answers
656 views

FreeRadius/Samba/Winbind “reading winbind reply failed” error

I'm trying to set up FreeRadius (on debian 7, samba 3.6.6) to authenticate with AD, and I've successfully joined the the radius machine to the domain (server 08 r2). I can successfully run wbinfo ...
5
votes
1answer
378 views

NFS - What does the “sticky bit” mean?

I'm trying to figure how is the sticky bit used in NFS v3. RFC 1813 says on page 22: 0x00200 Save swapped text (not defined in POSIX). What do they mean by "swapped text"? In "NFS Illustrated", ...
7
votes
1answer
223 views

Cannot expand asterisk without proper permission

Can someone explain to me the following? $ ls -ld /temp/sit/build/ dr-xr-s--- 3 asdf qwer 4096 Jan 31 2012 /temp/sit/build/ $ ls -ld /temp/sit/build/* ls: /temp/sit/build/*: Permission denied So ...
1
vote
0answers
152 views

Squash all UIDs automatically, without “all_squash”

I have a pair of Debian stable boxes sharing /home over NFS. The server used to serve LTSP workstations and has had a long running NFS configuration that never gave me any trouble. The LTSP project ...
6
votes
2answers
9k views

Give user read/write access to only one directory

I'm running a server, and I need to give read/write access to a particular directory to a single user. I've tried the following: sudo adduser abcd sudo groupadd abcdefg chown -R .abcdefg ...
0
votes
1answer
1k views

MySql not accessible by root user

I have a local MySql server. It is started as I can access it with my local user like $ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 66 Server version: ...
2
votes
1answer
244 views

what are the different ways to set file permissions etc on gnu/linux

On Unix a long time back I learned about chmod to set permissions and to allow programs to gain privileges. I have recently discovered extra commands on GNU/Linux: chattr, setfacl, setcap. Are there ...
1
vote
0answers
174 views

Changing file permissions of auto-mounted hot-plugged FAT32 USB partition

Linux can read from, write to and execute files (vfat driver) formatted as FAT32. Auto-mounting (in my case Ubuntu) leads however to all files owned by root and not executable. By changing the file ...
1
vote
1answer
261 views

How to change permissions from root user to all users?

I created a folder on the command line as the root user. Now I want to edit it and its contents in GUI mode. How do I change the permissions on it to allow me to do this?
2
votes
1answer
123 views

How 'passwd' gains ROOT user permissions?

How does Linux knows that it has to give euid 0 (uid of root) to only certain process like passwd, setuid, etc. If a process can gain root user's permissions, will it not lead to security breach in ...
3
votes
2answers
2k views

Can't get Wireshark to run as user on CentOS

It's the first time I'm installing and configuring Wireshark in a rpm-based distro. In the past I've installed it properly on Ubuntu, Mint or Debian. Don't know why, but it seems I cannot run it as ...
2
votes
1answer
901 views

Running executables on an NTFS partition?

My system configuration is the following: UEFI computer Dual-boot with Windows 8 and Linux Mint 15 Olivia I would like to be able to run Linux executables that are stored on an NTFS partition ...
1
vote
1answer
1k views

How can I flash_erase mtd0?

I am trying to find a way to nandwrite my mtd0 partition which contains my u-boot environment. When I try to flash_eraseall /dev/mtd0 though I get: flash_eraseall: /dev/mtd0: Permission denied ...
3
votes
1answer
148 views

setgid binary doesn't have permission, mount's right, I'm missing something, but what, please?

I'm sorry, I know this has to be something simple but I've checked the manpages, the mount, the permissions ... (edit: combined history into one sequence as requested. Starting to seem a not-simple ...
3
votes
2answers
852 views

What is a regular file?

$ rm foobar rm: remove regular file `foobar'? What does it mean for a file to be "regular" and why does rm treat such a file as a special case?
1
vote
3answers
2k views

Setting default username and group for files in directory

Using this helpful post I am able to set a default group and file permissions in a folder. I'm having trouble setting a default owner (teamlead uid 1234). setfacl -d -m g::rwx /my/test/folder ...
3
votes
1answer
397 views

How are file permissions applied to newly created files?

I have a directory that has the following permissions set: drwxr-s---. user group folder On the desktop, I access this folder and right click to create a new file call foo.txt. Then using the ...
2
votes
1answer
266 views

Permission issues when doing system backup using rsync [duplicate]

I'm trying to backup my linux system (arch linux on a laptop) to a remote computer on the same network using ssh (or NFS). I use rsync extensively to backup my /home directory to the remote computer ...
0
votes
3answers
516 views

How to make accessible folder/file to other user

How is it possible to make a folder under $HOME accessible to other users? I thought that's the case why we have softlinks but apparently I am missing some bits here. Can someone please shed a light ...
1
vote
1answer
2k views

Linux Mint 15: How to change permission of /opt folder

I'm trying install Pycharm Community 3.0.1. I'm extremely new to Linux and don't really know how to install things without explicit instructions (which for more popular software has just been pasting ...
1
vote
2answers
6k views

How do I set permissions recursively on a dir (with ACL enabled)?

For example, I want to give my colleagues write access to certain directory. Let's assume that subdirectories in it had access rights 775, files 664, and also there were some executable files in the ...
0
votes
1answer
1k views

FTP error 553could not create file in RHEL

We need to transfer a file from local machine to remote machine. Remote machines settings is as below: [540607@hsldevoradb ~]$ su - Saphr002 Password: [Saphr002@hsldevoradb ~]$ pwd /odi/CSV/in ...
5
votes
1answer
76 views

Setting group permission on directory

I'm looking for the best way to give a group permission to view any files in /var/log, but only using cat or tail. My best guess right now is that I need to use ACL's: setfacl -mR default:g:group:4 ...
5
votes
4answers
474 views

Allowing rename but not moving to other directory

Users can upload/delete/rename files via vsftp server and everything works well except they can also move files across directories. Is it possible to allow renaming of files but disallow moving them ...
1
vote
1answer
91 views

What are the ramifications of recursively chown'ing the directories on an external drive that currently has 501:dialout or root:root permissions?

I have a Raspberry Pi that's running a Raspbmc distribution and I've noticed that a lot of the directories are either owned by the user 501 and the group dialout or both the user and group root. It's ...
4
votes
3answers
601 views

How to inspect group permissions of a file

I would like to inspect group permissions of a file from a bash script. Specifically, I need to check whether a file has the group writeable bit on. That's it. Simple as that. However: I also need ...
1
vote
3answers
60 views

How can I make a switch accessible via the internet, that allows users to turn on or off a python script?

I have a python script running on a home laptop that runs Ubuntu 13.10. I want to give 2 or 3 people the ability to start or kill that script, but no other privileges. I don't want to give them access ...
1
vote
2answers
4k views

Change Folder Permissons in Debian

I have some folders with account/user "OpenERP" and i created new folder (web_theme) under this directory . When i try to open/read this folder (web_theme) it throws "Do not have the Permissions" I ...
2
votes
0answers
133 views

New files getting wrong permissions from setacl

I'm trying to create a file from windows on a mapped samba share, but after creating the file, I'm unable to edit it. For some reason the mask is changing to rw- even though my default is set to rwx. ...
1
vote
2answers
538 views

Can any user account in Linux invoke command chmod?

Since permissions are sensitive, is it vital to be clear whether a specific user is or not allowed to run command chmod?
1
vote
1answer
226 views

EACCES that should not happen

I have a situation on a Linux machine that I can't really explain. Some background: We're running apache with a c/c++ module that forwards requests to our application. It does so by reading a .port ...
1
vote
1answer
380 views

Permissions don't restrict access to NFS mount

We've got a RHEL 5.9 server with NFS mounted directories from a central NAS. There we've got a directory owned by aird1(11055):app_dev(1101) user/group with rwxrwsr-x permissions (i.e. sgid to ...
3
votes
1answer
440 views

mpd/mpc and NTFS mount

My music directory is kept on an NTFS mount as it was the simplest way to have it on both window and *nix machines. I am trying to get mpd/mpc to actually read the directory and getting no where. ...
3
votes
2answers
207 views

Permissions to print directly to USB printer

I've a netbook with Linux. I've a usb/serial printer and I added the line chmod 666 /dev/tty* to rc.local and it prints straight after a reboot. When I close the lid of a netbook for a while and then ...
3
votes
1answer
78 views

Why does a manual mount set different file ownership?

I've been using the terminal for almost everything: in fact, I often don't even log in through the interface, I use the tty1 and go to the web with text-browsers. So, the external drive doesn't ...
2
votes
4answers
3k views

permissions 755 on /home/<user>/

I am wondering why by default my directory /home/<user>/ has permissions set to 755. This allows other users to enter into directories and read files in my home. Is there any legitimate reason ...
2
votes
2answers
2k views

Resetting user directory permissions etc [closed]

My "Linux mint Debian edition" installation worked well until I used a live-CD to boot and then copied some files back and forth to and between the hard drive and a usb device. Now it says that it is ...
2
votes
1answer
315 views

Can't sudo after lock password, can I recover from that?

After setup ubuntu with default settings, It allows user to login with password, so I use passwd -l [username] to forbid password login both in ssh and console. But when I use sudo to execute ...
3
votes
2answers
329 views

Seems that chown is allowed to non root user

We are using LDAP authentication and probably another things that I did not understand well, in our company so maybe the following questions are result of this. I have found strange behavior of chown ...
2
votes
2answers
61 views

Directory permissions vs file permssions

If I have two users called john and sally. Both are part of the users group. john creates a directory with permissions 775. sally then puts a file there with 644 permissions. Even though the file ...
0
votes
1answer
803 views

What does the “flags” field in getfacl mean?

I'm trying to set permissions on a server between users using ACLs. When I'm checking their status on one of directories using getfacl dir10, it shows: root@svn:/srv/resources/somedir# getfacl dir10 ...
1
vote
2answers
1k views

What's the idea behind rm not removing non-writable file by default?

What's the idea behind rm not removing non-writable file by default? Every time you want to remove a file that is non-writable file for current user but you have a write permission on directory get ...
1
vote
3answers
184 views

Can't ssh to a machine

All of a sudden, I couldn't ssh to a machine to which I used to ssh earlier. Consider I am ssh-ing from A to B. Output when I run ssh root@ip_addr_of_B I get: Permission denied ...
2
votes
2answers
2k views

Unable to run 'sudo chmod +w /etc/hosts'

I am logged into my remote VM (running out of ESXi) as user xyz. I wanted to change my /etc/hosts to add some network names that were not visible by default. I first tried to run sudo vi /etc/hosts ...
2
votes
1answer
1k views

Zabbix-agent: cannot stat 'filename.log': [13] Permission denied

I have installed Zabbix-server and zabbix-agent and trying to add trigger to check log file. But in /var/log/zabbix/zabbix_agentd.log I got the same error every time: 10832:20131008:125634.180 ...
3
votes
2answers
645 views

Who is file owner if the file is created using sudo command?

I logged in using my username ravbholua: ravbholua@ravbholua-Aspire-5315:~$ echo $LOGNAME ravbholua I create file named a1: ravbholua@ravbholua-Aspire-5315:~$ echo>a1 ...
4
votes
1answer
1k views

Using setfacl to create recursive permissions for Apache with rsync

I have a Dokuwiki installation locally, which I regularly sync to my server with rsync. I'm also going to give a friend of mine an ssh account, and host his public Dokuwiki installation. However, I'm ...
3
votes
1answer
98 views

New webserver: What all user accounts should I create and permissions to provide for

This is a followup on my question here. I am setting up the first webserver and am fumbling with what user accounts to create and permissions to provide for better security. Below is what I have. ...
1
vote
2answers
3k views

Screen is terminating

I have installed screen on Fedora 19. When I test the command as root remotely through SSH, it works perfectly. For instance, if I enter screen a new terminal emulator is started and waits for ...
2
votes
1answer
81 views

ftp: in remote machine, file owner changes with the change in username used for logging in the remote machine

It was a wonder for me to see why the file owner changes when I log in the remote machine with different usernames. Please see: 1st I logged in a remote machine using username : peacenews. I entered ...