Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [permissions]

Short for "file system permissions" - access control based on user, group, or global access.

0
votes
0answers
12 views

headless Ubuntu 18.04 server: unable to connect to webmin and plex from LAN remote PC + issue with samba

I am a complete newbie with ubuntu. I successfully installed Webmin and plex. yet I cannot connect to their webpage from my local PC. I checked everything: "SSL = 0" in the Webmin config file; UFW is ...
0
votes
1answer
36 views

/tmp/ is somehow out of space and contains an irremovable file

When tab-autocompleting in terminal, I'm getting the error: -bash: cannot create temp file for here-document: No space left on device This would appear to mean that /tmp/ is full, but it's mounted ...
0
votes
0answers
13 views

Virtualbox Permissions

I have found a issue which I have not noticed before maybe this is new in Ubuntu 18. My virtual machines when they are created they are done so by script and the script sets permissions to be root|...
0
votes
0answers
10 views

Access secondary EBS volume and change permission of /.ssh directory - AWS

I have attached an EBS Volume(Centos based) with a new EC2 instance(Amazon Linux) as a secondary volume. The purpose of attaching it as a secondary volume is- I want to fix permission of /.ssh ...
0
votes
0answers
6 views

Oracle Database 12c Re2 installation, directory permissions (Ubuntu 16.04)

I'm trying to install oracle database 12c Re2 on my Ubuntu 16.04, but I failed. When choosing the directory, where the Oracle Base, the Software and the Database file should be located, I got the ...
0
votes
0answers
52 views

Samba share of disk for network access not working

I have tried to set up a disk for network access with samba, but without success. I suspected the problem might be ownership of the disk, but am unable to change ownership by methods recommended in ...
0
votes
0answers
14 views

/dev/dvb permissions

Seen a few posts on this but I can't seem to get any of the suggested solutions to work (rc.local, init.d). I need to give my user permissions to use dvb devices on startup. I can run chmod -R chris ...
0
votes
1answer
14 views

Copying from one filesystem to another while preserving file attributes

I am trying to copy the contents of one filesystem to another while preserving file ownership and permissions. I am currently trying sudo cp -pR /media/myself/fs1/* /media/myself/fs2/ The copy job ...
0
votes
1answer
29 views

Samba fileshare accessible from certain Windows user

I'm using VirtualBox to run Ubuntu Desktop 16.04. I shared folder and can access it from any Windows user, but I really want so only one specific user can access it and others will get denied. I know ...
0
votes
1answer
21 views

Drive permission problem

Re-installed Ubuntu 18.04.1 LTS, keeping the old drive partitions (/media/user/drive1 and /media/user/drive2). Given permission to current user with "$sudo chown -R user:user /media/user/drive1" after ...
0
votes
1answer
20 views

MySQL server crashing on launch on Ubuntu server

So, whenever I try to launch/install MySQL server it crashes with this log mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13 - Permission denied) 2019-01-15T05:42:42.237951Z 0 [Warning] ...
1
vote
0answers
25 views

How to hide format option from that menu

How to hide or put a password on formatting partitions to prevent other users from formatting my data accidentally
0
votes
0answers
12 views

rsync error on sync from local to remote, however can rsync from remote to local

I'm having trouble using rsync and ssh to sync from local to remote. However, I can rsync from remote to local as follows: rsync -avzP -e "ssh -i key.pem" ubuntu@example.co:/var/www/html/index.php /...
0
votes
1answer
30 views

How to find files or folders that are inaccessible to a certain user?

I am trying to install some package in my Joomla but got an error saying "error trying to delete inaccessible file". I checked with the package developer, they said I need to make sure all files and ...
0
votes
1answer
33 views

newly purchased and formatted (ext4) seagate external hard drive 5tb cannot store files in Lubuntu 18.10 + almost 40gb used somehow

I recently purchased a new external Seagate 5tb drive. I am running Lubuntu 18.10 from an external Sandisk USB drive. I tried to format the 5tb external drive using mkfs.ext4 using the terminal but ...
1
vote
1answer
23 views

chmod: changing permissions of file system

I'm having problems to execute file in my VMware folder, I tried changing permissions, but it does not change but give this error: chmod: changing permissions of <filename> Read-only file ...
0
votes
1answer
16 views

Permission denied in my O.S /etc/default/locale not configured

I want help for my Ubuntu issue. / etc/default/locale: /etc/default/locale:Permission denied. Why? As root I enter sh -x /usr/sbin/update-info-dir and get this: +INFODIR=/usr/share/info +set -e/ +...
0
votes
0answers
18 views

Cannot access to Apache Server on another folder

I cannot access Apache server on another folder, this command I use sudo chmod -R 777 /var/www/html/ However, in the HTML folder I create another folder named Exe, and I use this command sudo chmod ...
1
vote
0answers
55 views

Jupyter notebook permission denied

I'm using Ubuntu 18.04 and whenever I run the command jupyter notebook in the terminal, it shows Access to the file was denied The file at /run/user/1000/jupyter/nbserver-10831-open.html is not ...
0
votes
1answer
42 views

Confused about permission of group `www-data` for `/var/www/html' [duplicate]

My /var/www is this (permissions 755) drwxr-x--- 3 www-data www-data 4096 gen 11 16:27 www My /var/www/html is this (permissions 755) drwxr-xr-x 2 www-data www-data 4096 gen 11 16:27 html NOTE:...
1
vote
1answer
46 views

File Permissions on recovered folders

I have had to recover an Ubuntu Clonezilla machine. The computer died, harddrive intact. New computer, not same model so I have transferred the folders to the public profile. I have rebuilt the ...
2
votes
4answers
342 views

How to allow a command to be executed for a particular user without password with sudoers file?

Can anyone please explain the exact work of these in /etc/sudoers ? (I've done some research, so please don't share any links) I want to add myself (member of sudo) to execute a command without ...
1
vote
0answers
37 views

'Permission denied' when running snap applications on Ubuntu 16.04 as a LDAP user

Is it possible to run snap applications on Ubuntu 16.04 as a LDAP user? I always get 'permission denied' and I don't know what to do. $ sudo snap install postman postman 6.7.1 from Postman, Inc. (...
0
votes
1answer
43 views

Replace command output with custom error message

I have been trying to change the output of ls without changing permissions. When the user writes ls, I want to print some kind of error like command not found. I tried doing this with an alias but it'...
0
votes
0answers
31 views

sudo command sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin

I have run this command by mistake chmod -R 777 ./* Now not able to use sudo and can't open folders as root. sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: ...
0
votes
0answers
34 views

Cannot change ownership or modify it permission

I am new to Ubuntu. I have attached a new hard disk and it is mounted at "/mnt/sdb1" . I want to use that hard disk as network share when i try to change the ownership or permission its showing "...
1
vote
1answer
24 views

How can I make a specific root folder accessible for a user?

I have installed Nextcloud via snaps, and it stores its files under /var/snap/nextcloud/common/nextcloud/data/FriedRose/files, owned by root. I like to give my normal user access to read and write to /...
0
votes
0answers
10 views

Web based ACL editor

We have samba server serving our department, but the default permissions are no longer sufficient for us. Moving to ACLs, we need some a web interface to manage the permissions, instead of getfacl/...
0
votes
0answers
28 views

Give my user and wwwdata group full permission to folder and its content

I'd like to know if it's possible to give a folder ("tmp") full (rwx) permission to my user ("ubuntu") and www-data group. I tried with: sudo chown -R ubuntu:www-data /var/www/wondermap/html/tmp ...
1
vote
0answers
31 views

Errors when opening documents on an external disk with WPS Office

I have installed WPS office (with GNOME - Ubuntu Software) on my Ubuntu and it all works fine. But if I try to open a document on an external drive an error occurs: Make sure you are permitted to ...
15
votes
2answers
2k views

How can one restrict the number of CPU cores each user can use?

We have a computer whose CPU has 32 cores and it's going to be used for running programs by a few different users. Is there any way to restrict the number of cores each user can use at any time so ...
0
votes
0answers
10 views

usermod fails to change the current username

I want to change the username and take the following steps: 1, Change it from the GUI 2, Reboot machine 3, check it from the terminal but found the oldname was not changed algorithms@assistant:~$ ...
0
votes
0answers
42 views

Changed Permissions of /usr/ [duplicate]

I accidentally ran sudo chown -R root:root /usr/ on my ubuntu machine (while playing around with sd-card of my Raspberry Pi. I actually wanted to type sudo chown -R root:root usr/ without slash.) Now ...
1
vote
1answer
85 views

How to solve this error `sudo: /usr/local/bin/sudo must be owned by uid 0 and have the setuid bit set` without reinstalling ubuntu?

TLDR: I am running Ubuntu 18.04 with i3 and I messed up my permissions. Whenever I run a command with sudo, I get this error message, sudo: /usr/local/bin/sudo must be owned by uid 0 and have the ...
0
votes
1answer
35 views

puTTY serial (ttyUSB0) only works when run as root? [duplicate]

Today I had to configure some CISCO switches & routers at school, and I used a USB to serial adapter. Unlike on Windows I didn't have to install any drivers; it was recognized immediately. When ...
0
votes
0answers
6 views

A shared library loads under root with python but not under a regular user

Im trying to load dlib in python but it loads fine under root but not under regular users. They both use the same python at: /usr/local/bin/python But under root dlib works fine and seems to use: ...
0
votes
0answers
19 views

After updating kernel to 4.20, USB permissions denied

I just updated the kernel from 4.15.0-43 to 4.20, Ubuntu 18.04 First change I noticed is that my MP3 player, /dev/sdd, does not have permissions to read or write. I tried the following: sudo chmod 666 ...
0
votes
0answers
30 views

Opening an IDE with write, delete & read permissions?

Just installed Ubuntu 18.10 and I have realized that when trying to open VS code and save a file it will throw a permission denied error. It also does this when trying to delete files, not only write ...
1
vote
1answer
67 views

SOS Directory Nightmare - Possible for a directory to have two different users with full access? [duplicate]

I am setting up a directory for media. I need two users to be able to read, write and execute any content inside a directory, even if the other user created it. The directory is a samba share. I ...
0
votes
0answers
32 views

umask not setting properly

I've been looking all over the internet for a way to set my system default umask in Ubuntu 18.04 LTS. Every suggestion, even from the pam_umask.so manpage, fails. I can set the umask to 0002 instead ...
0
votes
0answers
19 views

BackInTime can't write to external hard-drive anymore

I'm on Ubuntu 16.04 LTS using backintime for regular daily back-ups on to an external HD. Recently, it has been acting strange and hasn't backed up correctly. Upon trying to change settings, it is ...
0
votes
0answers
19 views

proftpd (sftp) add access for user to /var/www

I have proftpd up and running in sftpd mode. Users are jailed to their home directories. For a specific user let's call him "claire" I want to give ftp access to /var/www via FileZilla (the user ...
0
votes
1answer
42 views

Unable to access data on flash drive

I've copied more than 300 Go data on a 2 To flash drive, from a Ubuntu 16.04, then formatted that PC and installed Ubuntu 18.04. The flash disk is exFAT partition, when I mounted it, I had to install ...
1
vote
1answer
21 views

Cron job not running for a specific user for nodejs

I installed nodejs for my specific user. I implemented a price feeder application and when I do a whereis feeder I get the following output: feeder: /home/user/.nvm/versions/node/v11.6.0/bin/feeder ...
1
vote
0answers
10 views

Local and remote (NAS) file matching permissions

I have a Synology NAS (DS214play) where all my multimedia files and others are stored. However, because I make changes to files from either the client running Ubuntu 18.04 or the NAS, I run into ...
2
votes
1answer
31 views

Can't create directory - read only

I have the game Starruler 2 installed, I can not create a directory or write into the mods directory. Path is /Snap/starrruler2/36/starruler2/mods I have tried changing the permissions using ...
0
votes
0answers
32 views

No write permissions with 16.04 nemo/thunar/nautilus to an NFS mount point, but below

I changed my Ubuntu operating system from 14.04 to 16.04; Now I have a problem with all GUI file managers nemo/thunar/nautilus to access the root folder of all NFS mounted directories. In the mount ...
0
votes
0answers
33 views

Editors can't see /var/www folder

I put a small web project on local apache from /var/www/html. It's working from browser and I can see all folders and subfolders from terminal. But editors (like Atom or Visual Studio Code) can't see ...
0
votes
1answer
34 views

I am not able to write on a network drive (Hosted with samba) using a php program. Why?

I have a network drive service hosted on Samba(Whose settings I can't change) when I mount it on my ubuntu pc using mount.cifs I am able to read write it's content. To make a directory or file there ...
6
votes
1answer
702 views

What does the permission string lrwxrwxrwx mean?

when I cd to / and enter the command: ls -ls For some files/folders it gives output like 0 lrwxrwxrwx. 1 root root 7 Jan 30 2018 bin -> usr/bin So what actually is this lrwxrwxrwx?