search for: chown

Displaying 20 results from an estimated 2673 matches for "chown".

Did you mean: shown
2008 Oct 20
4
command line escaping a dash
I cannot figure this out... I would like to change the owner of a bunch of folders whose name begins with a dash... # chown Administrator \-BILLED\ JOBS\ -\ 1997-2002 -R chown: invalid option -- B Try `chown --help' for more information. # chown Administrator "\-BILLED\ JOBS\ -\ 1997-2002" -R chown: cannot access `\\-BILLED\\ JOBS\\ -\\ 1997-2002': No such file or directory # chown Administrator &quo...
2007 Feb 12
5
chown command goof up
Basically, what I typed was: chown -R user2:user2 * chown -R user2:user2 .* chown -R user2:user2 *.* ...all in /home. Duh. I forgot which way recursive went. So, I then did: chown -R root:root * chown -R root:root .* chown -R root:root *.* ...this time in / to try and f things. Duh again. Other items need to have other owners &...
2017 May 27
2
Not possible to chown as guest?
..., but it is probably because this is such a bad idea > that it has been made not to work, or even more likely, no one ever > thought about doing this (because it is a bad idea), so there is no > code in Samba to do this. But it seems that it took more work to prevent guest from performing chown than to allow it. As a Samba pseudo user guest is directly mapped to nobody on the server and as nobody is able to chown directly on the server there must be an additional code somewhere that intentionally forbid guest to chown. -- <wempwer at gmail.com>
2009 Mar 11
2
chown failure on a samba share
Is this working as designed or a samba bug? I am trying to chown ownership of a file in a samba share and it results in an error. cifstest6:~ # smbclient //cifstest8/smb8 -U root Enter root's password: Domain=[CIFSTEST8] OS=[Unix] Server=[Samba 3.4.0-GIT-e6a5f11-devel] smb: \> chown 65534 65534 file2 NT_STATUS_ACCESS_DENIED chown file \file2 uid=65534, g...
2017 May 25
3
Not possible to chown as guest?
...p a number of photos from the Linux to the Samba share mountpoint but rsync said that chgrp failed when it tried to change group ownership to `users', my user's primary group. I run smbd as nobody user on OpenWRT, I added it to `users' group and can do the following on the router: /tmp/chown-test $ id uid=65534(nobody) gid=65534(nogroup) groups=100(users),65534(nogroup) /tmp/chown-test $ touch FILE /tmp/chown-test $ ls -l FILE -rw-r--r-- 1 nobody nogroup 0 May 25 11:51 FILE /tmp/chown-test $ chown nobody:users FILE /tmp/chown-test $ ls -l FILE -rw-r--r-- 1 nobody use...
2014 Jul 31
2
Samba4 creating share and setting permissions without windows tools
Hello, I need a way to set permissions to share folder without to use RSAT, I've not found anything about that. The samba wiki said that --------------------- Change permissions on folders of a share Changes of permissions are done using the classic *nix tools 'chmod', 'chown' and 'chgrp'. Example: Code: # mkdir /srv/samba/Demo/Example/ # chown foobar:DemoGroup /srv/samba/Demo/Example/ # chmod 2770 /srv/samba/Demo/Example/ ------------------- I created a group DemoGroup with "samba-tool group add DemoGroup" Then, when I did Code: chown fooba...
1997 Sep 26
1
tty chowning
About a year ago I outlined a scheme for arranging chowning of the tty end of ptys without needing root privileges. Since then, I haven''t had time to actually implement it. I was thinking about the problem again today, and, having learned a bit about sessions and controlling ttys and stuff, was able to come up with a simpler mechanism. First,...
2019 Nov 11
1
Proxy testing in container( chown failed /var/dovecot/login)
I added this to the 10-master imap-login, pop3-login and submission-login, but keep this message Doveconf still lists imap-urlauth-login with chroot = token-login, also when changing this one to chroot = the error persists. Fatal: fchown() failed for /var/dovecot/login: Operation not permitted -----Original Message----- Subject: Re: Proxy testing in container( chown failed /var/dovecot/login) You should probably disable chrooting for login services if you are running as non-root... service imap-login { ?chroot = } Aki...
2016 Feb 17
4
Can one set the owner of a folder to BUILTIN\Administrators?
...ks for me too. I just issued the command 'chgrp "BUILTIN\administrators" CoreLib' and it returned successfully for that folder. 'ls -la' shows: d---------+ 2 MMIA\domain admins BUILTIN\administrators 5 Dec 8 11:59 CoreLib// Note however, that it fails if I attempt to chown instead: [root at freenas] /mnt/trunk/MM/deploy# chown "BUILTIN\Administrators" CoreLib chown: BUILTIN\Administrators: illegal user name I can chown to other domain groups successfully. > > I know very little about freebsd (I think freenas runs on freebsd) but > does it use PAM...
2017 May 26
2
Not possible to chown as guest?
...t; wrote: > >> > getent passwd nobody >> > nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin >> >> Ok, I know that. Please read my 1st post more carefully. I added my >> nobody user to users group. I can log in as nobody on the server and >> do `chown nobody:users <FILE>. > > To login, you must have given 'nobody' a password, given it a home > directory and a shell that lets it login. Or do you mean that you can > connect to a share as the user 'nobody' although this would still > mean that 'nobody' h...
2019 Feb 16
3
Changing UID numbers
...at 11:04:11AM -0600, Bill Gee wrote: > > I think I can do this in two steps. > > 0) backup, backup, backup! > > This is already running and you've tested the restore process, right? > > > 1) On the server - use "find" to find all files owned by UID=500. Chown > > them to UID=1000. Repeat for gid=500. > > Yes. > > > 2) Tricky - On the workstation, boot to non-gui. Login as root. Repeat the > > same two "find" commands as on the server. Edit the /etc/passwd and > > /etc/group files to show the new UID and GID n...
2017 May 26
2
Not possible to chown as guest?
On 5/27/17, Rowland Penny <rpenny at samba.org> wrote: > On Sat, 27 May 2017 03:45:00 +0900 > john smith via samba <samba at lists.samba.org> wrote: > >> >> It might be. However, the primary issue for me is to explain why >> can't I perform a chown operation with guest user. Is it >> fundamentally forbidden or is there a quirk? > > I suppose one reason could be because there is no 'Guest' user in Unix, > there is the Unix user 'nobody', but you cannot login as 'nobody' > > getent passwd nobody &gt...
2014 Jul 15
3
chown destroys ACLs
Hi, Is it normal that "chown $user $file" and "chown :$group $file" destroy the Windows-ACLs? Is it normal that changing the file owner in Windows does not change the file owner in Linux, but changing the file owner in Linux does change the file owner in Windows? This should be mentioned in > https://wik...
2007 Aug 15
2
chown and chgrp on 4.5 vs 5.0
I just noticed that on centso 4.5 I have an executable with the +s (chmod +s myexe) doing a chmod root myexe and chown root myexe does NOT affect the +s setting. However, on centos 5 this is not the case. chmod +s myexe chown root myexe or chgrp root myexe will DROP the +s status. How can I get around this? I want to keep the owner, group, world settings. Thanks, Jerry
2013 Oct 14
1
rsync-3.1.0 --chown, --usermap, and --groupmap ignored?
The man page describes options --chown, --usermap, and --groupmap, but these seem to be silently ignored beyond validating that the user and groups do indeed exist. Is the following supposed to work? $ touch a $ rsync --chown=http:http a b $ ls -l a b -rw-r--r-- 1 jed jed 0 Oct 14 02:44 a -rw-r--r-- 1 jed jed 0 Oct 14 02:45 b $ chown...
2016 Feb 17
2
Can one set the owner of a folder to BUILTIN\Administrators?
...>> "BUILTIN\administrators" CoreLib' and it returned successfully for that >> folder. 'ls -la' shows: >> d---------+ 2 MMIA\domain admins BUILTIN\administrators 5 Dec 8 11:59 >> CoreLib// >> >> Note however, that it fails if I attempt to chown instead: >> [root at freenas] /mnt/trunk/MM/deploy# chown "BUILTIN\Administrators" >> CoreLib >> chown: BUILTIN\Administrators: illegal user name >> >> I can chown to other domain groups successfully. > > Normally a group cannot 'own' files etc,...
2001 Feb 21
1
sftp-server and chown
Hi, I've already discussed this issue in SSHSCI's SSH 2.2 context on ssh at clinet.fi list. My standpoint is that it's wrong and meaningless to perform chown in sftp-server as the file is most likely copied between systems with distinct accounting system where user is not necessarily (and even unlikely) has same numeric user id. The original bug report was that user couldn't access files transfered from Windows machine and it turned that Windows cli...
2019 Jun 03
3
chown and AD users
Hi everyone, I want to set ACL's on some directories for AD users with chown command, but it doesn't work. wbinfo -u is ok and return all users. i.e : DOMAIN\administrator DOMAIN\user ... if I try :      #chown -R "DOMAIN\user" /my_dir I obtain this :     chown: incorrect user : "DOMAIN\\user" chown systematically "adds" a backslash...
2020 Aug 30
4
[Bug 3206] New: sftp client(32bit) chown command does not support uid >LONG_MAX
https://bugzilla.mindrot.org/show_bug.cgi?id=3206 Bug ID: 3206 Summary: sftp client(32bit) chown command does not support uid >LONG_MAX Product: Portable OpenSSH Version: 6.9p1 Hardware: 68k OS: All Status: NEW Severity: normal Priority: P5 Component: sftp Assignee: unassig...
2013 Jan 29
7
stuck installing puppet in RHEL 5
.../var/log/pe-console-auth ** touch /var/log/pe-console-auth/cas.log ** touch /var/log/pe-console-auth/auth.log ** chmod 770 /var/log/pe-console-auth ** chmod 660 /var/log/pe-console-auth/auth.log ** touch /var/log/pe-console-auth/cas_client.log ** chmod 660 /var/log/pe-console-auth/cas_client.log ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth ** chown puppet-dashboard:puppet-dashboard /opt/puppet/share/live-management/config.ru ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru ** service pe-httpd rest...