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...
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...
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...
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...
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...
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...
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...
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 -...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.