A
A
Andriy Kondratiev2012-05-23 11:59:46
FreeBSD
Andriy Kondratiev, 2012-05-23 11:59:46

FreeBSD doesn't change permissions?

There is a server on FreeBSD. On it, through samba, I shared the resources /usr/home/share/smb/PDA $i, where $i takes a value from 1 to 25. Shares in the network environment can be seen, but are not included in them. When I try to change permissions, there are no errors, but nothing happens:

# ls -l<br/>
lrwxr-xr-x 1 root vsftpd 28 23 12:21 КПК 13 -&gt; /usr/home/admin/ftp/agent_13<br/>
# chmod 777 КПК\ 13<br/>
# ls -l<br/>
lrwxr-xr-x 1 root vsftpd 28 23 12:21 КПК 13 -&gt; /usr/home/admin/ftp/agent_13<br/>

What? The same garbage and with the change of ownership - does not change even though you burst!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zuborg, 2012-05-23
@keedhost

man chmod:
-h If the file is a symbolic link, change the mode of the link
itself rather than the file that the link points to.

M
Mikhail Grigoriev, 2012-05-25
@Sleuthhound

smb.conf write
+ reading logs to help you
[global]
log level = 255
log file = /var/log/log.smb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question