All Questions

Tagged with
Filter by
Sorted by
Tagged with
-3
votes
1answer
39 views

Permission denied as root [closed]

new clean Debian 10 install. Software manager does not work. Have to add where to look for updates. update does not work because the wrong repository was entered during installation. Right-click does ...
0
votes
0answers
18 views

Docker on debian 10 - php permissions

I'm on a fresh installation trying to get an existing Docker file to work with docker-compose. I'll walk through my steps : Install docker & docker-compose on my machine Clone the existing ...
0
votes
0answers
188 views

Debian 10, su: Permission denied

As of right now, I create a brand new Google virtual machine. I upgraded the OS from Debian 9 (Jessie) to Debian 10 (Buster). For whatever reason, I cannot use superuser. Whenever I try, I get the ...
0
votes
0answers
68 views

Chromeos Linux Beta

I am attempting to install Krita on my chromebook. I have 'turned on' linux beta and chromeos prompts me that 'Shared folders are available in Linux at /mnt/chromeos...' Issue debian@penguin:/mnt/...
0
votes
1answer
29 views

Getting the right file permissions when building packages in /usr/local/src

As far as I understand, when you build a package foo located in /usr/local/src you shouldn't need to be root. However, when I extract the package and try to run the build script it fails because it ...
1
vote
2answers
64 views

All files or folders copied from an NTFS drive are with drwxrwxrwx rights. Can I correct this easily?

I went from Windows 7 to Debian 9, copying most of the files I'm using for my projects from an NTFS drive. I see that : all the folders I have copied are now with rights drwxrwxrwx instead of drwxr-...
0
votes
0answers
113 views

Unable to use apt-get install on other user [duplicate]

I get this error when I try to install icecast2: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you ...
2
votes
1answer
4k views

Could not chdir to home directory /home/user: Permission denied

After getting a new VPS with Debian 9, I created a new user using root. I created a new username called joe with this command adduser joe. Then, I used usermod -aG sudo joe to grant administrative ...
0
votes
1answer
317 views

If rc.local is run as root why can't it touch a file

I wish to execute a script every time on boot-up using /etc/rc.local. My script for example is called startscript.sh which is stored in /home/debian as below. It first tries to create a file called ...
0
votes
0answers
30 views

ACL permissions / group not getting permissions

I am trying to get ACL permissions to work the easy way by allowing groups specific access on files and folders. However my system is ignoring group permissions entirely. My setup: Debian 8 user ...
0
votes
1answer
36 views

What happens if we, recursively, change folder permissions after changing files in it?

What will these below commands actually do? chmod 777 /yoda/htdocs/cups/logs/* chmod -R -f 777 /yoda/htdocs/cups/logs/ When I check the file permissions in ..../logs folder, they are showing as -...
0
votes
1answer
424 views

Mouting a remote drive with cifs

I've created a remote mounted drive by adding this to my /etc/fstab: \\192.x.x.x\web /mnt/web cifs username=X,password=X,domain=X and mounting it with sudo mount /mnt/web (which works perfectly!) ...
0
votes
1answer
75 views

How to create a custom command or shortcut/symlink to run the standalone program?

Friends I have downloaded tor bundle which is a standalone package. I'd like to create a custom command "torbrowser". I followed these steps, --> I copied entire tor bundle to my /usr/local directory ...
-2
votes
1answer
64 views

Delete a corrupt file in debain

How to delete this file? I installed "Network Configuration Management" from ManageEngine: Network Configuration Management Tried to run that .exe ("MSIHandler.exe") file (my folly) got this ...
1
vote
1answer
116 views

Cron Daemon - LibClamAV errors

I have been receiving since a long time following mails: From: Cron Daemon <root@autisticstory.net> Subject: Cron <root@cloud-vps> test -x /usr/sbin/anacron || ( cd / && run-parts ...
-1
votes
2answers
100 views

What am I doing wrong with my linux commands? [duplicate]

I want to inherit every new file from my group so that I can have execute permissions, and no one else, but when I try to create new ones, it gives me 664 permissions how can I fix this?? sudo ...
1
vote
0answers
34 views

How can I change (volume) hotkey permissions on debian login screen?

usually I use the laptop to hear music at home while doing things off the computer. As it is supposed, after some time of inactivity the screen saver starts on my debian (stretch) system. To change ...
0
votes
1answer
43 views

How to prevent logged SSH users to view /var/www/html/ (Apache2) directory?

I would like to use permissions, to prevent 5-10 users to view the HTML webserver. In order words, how to prevent logged SSH users to view /var/www/html/ (Apache2) directory? I thought about creating ...
2
votes
1answer
406 views

Give different users access to different sub folders

OK so I understand this is probably a super newby question but I've been playing around with this and trying everything within my knowledge to get this sorted but just cannot figure it out. Basically ...
0
votes
1answer
93 views

Unable to copy or delete or rename files in Debian

I use the latest version of Debian (9.4). Recently I realized that I'm unable to copy and paste (or cut and paste), rename or delete any file on my laptop at all. I can't even download any file it ...
0
votes
0answers
192 views

How to set up permissions to change a /sys/kernel/config/ folder?

I have an unusual problem and I'm not familiar enough with Linux permissions to solve it myself. I've been given a bash script that creates a new folder inside /sys/kernel/config/usb_gadget, then to ...
1
vote
1answer
616 views

copy folder permission to another server

I have the next problem, i have 2 servers (debian) and each one have install tomcat. The first server (192.168.0.100) have installed tomcat with their default permissions in every folder (and that’s ...
1
vote
0answers
46 views

Prevent specific user from altering file they own through directory traversal in shared folder to which they have no write permissions(scenario)?

Bob is the sysadmin. Alice is a user, and boy is she a mess. Bob has set up a shared folder, say /srv/share, with permissions of 775 and ownership belonging to bob:usershares. Alice is not a part ...
0
votes
0answers
393 views

lxc_container: Permission denied

I have unprivileged LXC's setup on my server, when trying to start one of my LXC's I get this error: lxc@web3:/sys/fs/cgroup$ lxc-start -n brainfever WARN: could not reopen tty: Permission denied ...
0
votes
2answers
127 views

What user does apt-get install software under?

I just installed some software using apt-get, and its owner and group is "logger". Since I installed the software using sudo, why isn't the owner and group "root"? I am pretty sure about a year ago, ...
0
votes
0answers
592 views

chmod does not change the folder permissions on an NTFS filesystem

I have recently installed Debian 9, and I have been facing many problems since then. The hard drive was previously used for a Windows install, and is not completely formatted, so it contains two ...
4
votes
2answers
799 views

What is the Debian counterpart of the admin group, and what group on Debian makes files accessible to only the owner and the administrators?

Debian vs Mac OS X regarding the admin group On Mac OS X, in order to make a file accessible to only the owner and the administrators, I set the group of the file to admin, and set the permission ...
1
vote
0answers
178 views

Unable to delete files from within smplayer

smplayer has an option that allows deleting the currently playing video. This worked well in windows 7, and even in debian 9 till about an year back. It brings up a confirmation dialog box, and if I ...
0
votes
2answers
770 views

Can't login to debian GUI

I recently installed Debian 9.0 stable with KDE in my notebook that already had an Ubuntu and windows 10 installations. My intent was to create a new partition to debian's root and use the same /home/...
4
votes
2answers
1k views

Apache PHP uploads - ownership and permissions

I am giving my first steps to install a VPS web server (Debian 8 + Apache 2 + PHP 5.6) and need some help with files/folders permissions, please. I already found some similar topics about this ...
0
votes
1answer
488 views

Deleting anything in webapps directory doesn't work using Apache Tomcat 7

I ran into an issue where rm doesn't delete anything from the webapps directory using Apache Tomcat 7, but rm does work in any other directory. The Tomcat service is down. Any ideas?
4
votes
0answers
2k views

How to set sftp-server permissions and ownership in a shared sftp-folder? (ACL's ?)

I need a specialized configuration for our companys sftp server to be able to exchange files with our customers in a secure way (The server runs Debian Linux 8.7). We need a "customers" folder where ...
4
votes
0answers
986 views

Alternative to adding 'user_allow_other' to /etc/fuse.conf for security?

It looks like for mounting my Android phone I need to add user_allow_other to /etc/fuse.conf. I researched what this does: According to the manpage: user_allow_other Allow non-root users to ...
0
votes
1answer
23 views

Is it possible to view changes of permissions by comparing files to a backup?

I'm running Debian 9.1 with KDE and used BackInTime (which uses rsync) to backup my files. Now I would like to create a changelog / diff of changes to permissions of files. I'd like know this for two ...
3
votes
2answers
505 views

How to restore permissions with BackInTime/rsync?

Apparently BackInTime, which uses rsync, doesn't just restore permissions when restoring files but also saves them separately to the data. Is it possible to restore permissions of specific directories ...
1
vote
2answers
518 views

Why I can't execute script with only execution permission? [duplicate]

At the moment I am playing around with linux on my raspbery pi and Im trying to learn how the permission system works. I created a group of two users one of them created a python script in his own ...
0
votes
1answer
73 views

light-locker expose my playing sound when switch tty by keyboard?

How to solved or bypass this problem? light-locker can hide my screen but very short time expose my screen contents when first switch to my screen by keyboard. sound contents is always expose nearl ...
1
vote
0answers
349 views

Mounted NFS share. Can create folders in file browser, but mkdir doesn't work through terminal

I am sharing a folder from OpenMediaVault 3.0 to Ubuntu using NFS. It mounts, and I can see the files in it. I can create folders and copy to the mount through the Ubuntu GUI file browser. However, ...
9
votes
3answers
297 views

Permissions on Files:

I would like to give 755 permissions to a directory, so I use: # chmod -R 755 /my/folder/ It works for all files inside my folder, but the problem is that I use scripts that create new files in this ...
3
votes
2answers
530 views

sftp restricted access to a directory

I need to grant access via SFTP to a specific folder with full write permissions from the root of this folder. I made it work but can't figure out a way to provide write permission on the / of the ...
0
votes
1answer
429 views

openvpn in whonix workstation? gksudo to move files as root?

So I've been trying to setup a vpn in whonix workstation but it is proving somewhat difficult for me. Specific vpn is nord vpn and I was following their instructions for command line install but it ...
1
vote
1answer
665 views

Allow non-root user to use timedatectl

I have a small Linux device that may choose to sync it's time with a handheld device when said device connects to it. My program's been running as root, and I've just been using date --set commands. ...
4
votes
1answer
531 views

ACL not honored by mv and tar

I'm trying to setup an area on my ext4 filesystem (on Debian Jessie), where all "staff" group members can read and write existing and newly created files. The filesystem is mounted with acl option: ...
2
votes
2answers
583 views

Why is /var/www/html writable only by root (by default)?

After setting up LAMP (on Debian) and then looking at /var/www/html's permissions, I was surprised that it is only writeable by root (drwxr-xr-x 1 root root). Presumably PHP scripts can create files ...
0
votes
1answer
2k views

How to revert a “sudo chmod 644 .*”?

guys! This is my first post here and, unfortunately, and it's being made in very ugly circumstances! I'm running Debian Jessie x64 and an hour ago I installed some fonts for figlet into the /usr/...
1
vote
1answer
3k views

Owner of sshfs-mounted directory with 777 permission can't open it (no ACL, no SELinux)

So I have a permission problem with my sshfs mount: root@server01:/mnt# sshfs -o uid=$(id -u www-data) -o gid=$(id -g www-data) user@host:/path mountpoint root@server01:/mnt# ls -Zlah total 12K drwxr-...
0
votes
1answer
772 views

Linux blocks file access from Windows (shared NTFS drive)

I have 2 OSs on my laptop: Windows 7 on its own NTFS partition and Debian Jessie on its own ext4 partition. I also have a separate NTFS partition for my data which is shared between OSs. In Debian my ...
2
votes
1answer
281 views

Etcd executable gets permission denied as root

I am trying to install etcd on a Debian machine. root@s1:/tmp/test-etcd# uname -a Linux s1 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux root@s1:/tmp/test-etcd# uname -m ...
1
vote
1answer
47 views

Full access to the files on my Samba share

I download files with my Nas Server with Debian on it to a path. this path is also shared with SMB to a Windows PC. Now when I try to delete some files on my Nas from Windows I get permission errors. ...