All Questions
Tagged with freebsd permissions
30
questions
0
votes
0
answers
79
views
Can't start TOR as a daemon on FreeBSD
I'm trying to understand why TOR does not start as a service on my FreeBSD 13.2. This is the error message that I see during the boot :
[notice] Tor 0.4.8.9 running on FreeBSD with Libevent 2.1.12-
...
1
vote
0
answers
329
views
NFSv4 ACLs on ZFS and other permissions
All,
I've been experimenting with using NFSv4 ACLs on ZFS datasets to set default permissions in a handful of directories that are accessed using a few different means (eg. SFTP, NFS, etc.) I've been ...
1
vote
1
answer
326
views
can't get cron to work on FreeBSD 10.2 for root
This is regarding the FreeBSD:
# uname -a
FreeBSD gw-mail 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 19:31:38 UTC 2015 [email protected]:/usr/obj/usr/src/sys/GENERIC i386
...
0
votes
0
answers
64
views
How can mount freebsd disk partition with read and write permission in deban? [duplicate]
My freebsd installed on /dev/sdb2,it can mount with read permission:
sudo mkdir /mnt/freebsd
sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdb2 /mnt/freebsd
How can mount it with read and write ...
1
vote
1
answer
362
views
ACLs are not respected on FreeBSD
I am trying to set default group permission for the folder on FreeBSD 13.0
$mkdir test
$setfacl -d -m u::rwx,g::rwx,o::rx,mask::rwx test
$getfacl -d test
# file: test
# owner: john
# group: wheel
user:...
1
vote
0
answers
1k
views
Freenas and ACL permissions
I have been trying to set up the ACL on FreeNas 11.3 all day and it just does not work the way I think it should I am wondering what I am doing wrong.
All I want to do is when a user creates a file in ...
2
votes
1
answer
1k
views
How do operator/wheel groups work on FreeBSD?
On FreeBSD 12.0-RELEASE-p3 ls -l /dev/ada1 gives me:
crw-r----- 1 root operator [skipped] /dev/ada1
If I use the command gpart recover /dev/ada1 from a non-root user account, who is in the group ...
3
votes
1
answer
6k
views
Find all files with group write only permissions
In the following example directory
$ ls -l
total 0
-rw-r--r-- 1 user testgroup 0 12 feb 12:00 file1
-rw-rw-r-- 1 user testgroup 0 12 feb 12:00 file2
-rw--w-r-- 1 user testgroup 0 12 feb 12:...
9
votes
1
answer
333
views
Why did FreeBSD lose the w mask but Debian retained it?
I am trying to understand the difference in behaviour between FreeBSD ACLs and Linux ACLs. In particular, the inheritance mechanism for the default ACLs.
I used the following on both Debian 9.6 and ...
1
vote
1
answer
421
views
Why are my new files not getting the group writeable permission?
I would like to set up a directory such that all new files are group writeable, regardless of the umask setting of the individual user.
I've created a stor group and added all users to it. Then, I ...
2
votes
1
answer
78
views
getfacl says my unprivileged account should be able to read the contents of a dir, but it can't
I'm probably missing something glaringly obvious..... but I can't see it.
I have an ordinary directory on FreeBSD, controlled by NFSv4 ACLs. The ACLs say I can list its contents; but I can't.
Here's ...
1
vote
1
answer
242
views
Fastest way to locate any files/dirs with different ACLs than parent? (FreeBSD)
As the question says.
I have a data pool with ~ 10M files with access controlled by NFSv4 ACLs. It's usable from CLI, Samba, sometimes by daemon processes or rsync, and for some dirs by ftp/sftp, so ...
0
votes
2
answers
3k
views
FreeBSD sed error - I have permissions, but "Permission denied"
Permissions:
ls -al file
-rwxrwxr-x 1 root wheel
User group:
groups
wheel
If I do this:
sed -i'' -e '/Marker/i\'$'\n''text string'$'\n' file
I get an error:
sed: ../file: Permission denied
...
1
vote
1
answer
662
views
FreeBSD: everything exited on signal 12 after "make buildworld"
I downloaded and compiled the source code of FreeBSD with:
git clone https://github.com/freebsd/freebsd.git /usr/src
cd /usr/src
make clean
make buildworld
and literally everything would exit on ...
0
votes
0
answers
77
views
How to Only Allow Users Access to Specific Files?
I have a user that is used to run my server. Ideally, it would only have write access to the server's log files, and only have read access to the document-root. How would I do this on FreeBSD 11?