permissions

  1. M

    Changing the runtime gid of the rtld linker

    I am looking for a way to change the gid of the dynamic linker while it is reading shared objects from the filesystem. For context, my goal is to create an environment where an unprivileged user can not read/analyze ELF files but can still execute them. This can be easily implemented for ELF...
  2. Sivan!

    ZFS clamscan doesn't initialize in freebsd 14

    $sudo freshclam [user ~]$ls -l /var/log/clamav [user ~]$chmod /var/log/clamav usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ... [user ~]$ sudo mkdir /var/log/clamav [user ~]$sudo touch /var/log/clamav/clamd.log [user ~]$sudo chown -R vscan:vscan /var/log/clamav chown: vscan: illegal...
  3. T

    Solved Samba413/Samba416: chdir_current_service: vfs_ChDir() failed: Permission denied. Current token: uid=1003, gid=1003, 2 groups: 1003 1005

    I set up a Samba server with samba413 last week, but recently it has been having a strange error. It is unable to connect to a directory in a zpool that has permissions 777. The smbd is also currently running as root. I tried reinstalling and switching from samba413 to samba416 to no avail...
  4. V

    Permission issues on ZFS dataset

    Hi everyone, I created a new ZFS dataset root@vieron:~ # zfs create zroot/playground root@vieron:~ # ls -ld /zroot/playground/ drwxr-xr-x 2 root wheel 2 Mar 17 12:40 /zroot/playground/ and assigned read and write permissions to the "labgroup" group root@vieron:~ # chmod 775...
  5. cbunn

    NFS issues with macOS clients

    I've been running a FreeBSD NAS for a long time now with ZFS filesystems shared via NFS. In the past, macOS had no issues connecting, though the default when using Finder was NFSv3. Good enough for me. But I've recently upgraded from Mojave (10.14) to Ventura (13.2) and have been having trouble...
  6. E

    Sshfs needs doas, how to use sshfs as an unprivileged user?

    Using a fresh install of FreeBSD 13.0. I'm trying to mount a remote directory on a linux server via sshfs with the following command: sshfs user@x.x.x.x:/home/user/Dir/dir/ /usr/home/anotheruser/DestinationDir/ -p1234 -v -o idmap=user,uid=X,guid=Y,allow_other,follow_symlinks,reconnect The...
  7. DWAM

    Issues with permissions on Bind 9 log files

    Hi ! Very new to this FreeBSD universe. Installed my very first FreeBSD VM server yesterday even though I have been using pfSense and FreeNAS variants for over 10 years. Trying to find a reliable solution to switch from CentOS & Ubuntu servers for basic but important applications. I started my...
  8. S

    Solved Can't log into windowmanager though XDM

    I had this problem for a while, that I couldn't get into my desktop through XDM. I thought I could have messed something up on my computer that made this not work, but after installing FreeBSD 13.0, there's still the same problem. Only one other person said they had this problem on here before...
  9. T

    tar copy files without metadata

    How can I copy files and directories without overwriting the existing metadata on the target? I have configuration files in a repository that configure the system. The source files are owned by a regular user, but the target has files owned by other users including root. tar cf - . | tar xf -...
  10. Buck

    Properly setting scp permissions for www and user access

    I need to set up permissions properly on a web folder for two users and apache's www user. The hierarchy looks like so: /var/www/ contains several folders for several websites managed by user1. /var/www/special/ contains a special website folder managed by user2. Therefore, I need user1 to be...
  11. The Alchemist

    Understanding permissions in jails and host

    Hello everyone, I have recently upgraded my FreeBSD 10.3 server to 11.2. With this change, I also setup my system using jails: - Plex - Samba - Apache PHP stack - Nginx Node.js stack - Database stack - Etc. I have two ZFS pools: - zfs-os the FreeBSD OS - data mounted to /data I am using...
  12. daBee

    nginx Permissions Clarification

    Hi folks. My workstation is a Mac (El Capitan), and I have a FreeBSD box on version 11.1 Release, running nginx on both. Both have the user commented out, yet I continue to get errors on the following commands on the FreeBSD box: $ nginx -t nginx: the configuration file...
  13. G

    Filesystem permissions!? Normal user can delete root/400 file!!!?

    Hello, I think something's very wrong here, but there should be an explonation, I just don't know what it is and I would really appreciate some help. I have created a file owned by root:wheel and I have change it's permissions to 400 (-r--------) and when I switch to my user which is not root...
  14. nixdmon

    Unable to change user umask

    Hi All, I've been trying to change umask of a local user. I've looked around for instructions, and tried adding umask in .login_conf in user's home directory. me:\ :umask=002: Also ran cap_mkdb .login_conf after modification. umask remains 022, unchanged. In addition, I've changed...
  15. IPTRACE

    Too secure /tmp for OpenLDAP and OpenDKIM

    I have a problem with permissions on /tmp folder. I've changed permissions from drwxrwxrwt root wheel tmp/todrwxr-xr-t root wheel tmp/Then I could not start OpenLDAP. Can someone support me with this issue? (I want to keep 1755 permissions) slapd[78705]: @(#) $OpenLDAP: slapd 2.4.45 (Jul 2 2017...
  16. L

    Rsync group ownership using modules

    OK, I have a client (booker) and server (fourroses). I want to run a script on booker that uses rsync to copy files to fourroses and keep all user and group ownership attributes the same. I have had success maintaining file attributes running rsync in regular instead of daemon mode. But I...
  17. zorb847

    file permissions

    Sorry for another noobie question I broke my system beyond the point that I can fix it and seems that it will be easier to just to format and re-install. I have my home directory copied off to an external drive. My question is: if after I re-install, I will create user with the same name and...
  18. daBee

    NFS Sharing of /

    Hi folks. NFS up and running, but the /etc/exports file has me stumped. I want to share the whole / so I inserted this directive: # /etc/exports / -alldirs hq.local /home -alldirs 192.168.1.4 /home/rich/ -network 192.168.1.4 The last 2 directives were added later to see if I...
  19. daBee

    Edit files through FTP

    I'm looking to use FTP as a filesharing system on my LAN. I can mount the volume on my LAN, and can read files, but not write. Is this a permissions issue, or can I provide some directives in a conf file so I can write? Cheers
  20. C

    libcdio as non-root user

    This issue has been doing my head in for hours and to be honest I've just run out of ideas. I'm trying to use libcdio to access my /dev/cd0 drive as a normal user (in group operator) but it just isn't having it. However, root works fine. Testing with a couple of programs I've found the port...
Back
Top