search for: setperm

Displaying 7 results from an estimated 7 matches for "setperm".

Did you mean: set_perm
2012 Aug 03
4
Urgent help on replacing /var
In a moment of epic stupidity, having ran out of space on the root partition of a server due to /var chewing up the space, I added a separate drive for the purpose of mounting it as /var To do so, I mounted the new drive as /var2, cp -R (in hindsight should had rsync to preserve attributes), deleted the original /var to free up space, edited fstab and rebooted... unsurprisingly to a fubar'd
2018 Apr 07
0
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
...ries from both Linux-side & Samba-winbind sourced usernames/groups! I'd appreciate any helpful comments on making my script more efficient or better simplified. The one portion I wished could have been compacted is the shell'ing-out of xargs to the separate tiny helper script "setperm.sh". I couldn't get that helper snippet to run as a shell function while still allowing xargs to call it, especially because of the variables being passed. Also, as dir/file names can be complex and contain all kinds of crazy special characters, there were a lot of challenges making th...
2018 Apr 06
2
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote: > > > By default, step 4 takes forever to run on large datasets because it > > uses named entities. My ultimate plan was to use the numeric > > user/group id's in that step instead of named ones so the Winbind cost > > is not incurred. Seems for the whole process, the calls to Winbind to > >
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 & groups. So, how can I fix this? In MacOSX, there is a utility
2006 Sep 20
1
Root directory ownership/perms
Centos 4.3 Hi All: I just shot myself in the foot by change the owner/perms on the contents of the root directory (my bad!!!). I have done a quick compare with a running RHEL3U8 system and think I have every thing back to what it should be except for new directories media and selinux. Can someone out there currently running 4.3 send me an "ls -l" of their root directory so I can make
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...1:/test:token" ] # Check that reads don''t set it off. -[ "`echo -e ''1 watch /test token 100 +[ "`echo -e ''1 watch /test token 2 read /test 1 waitwatch'' | ./xs_test 2>&1`" = "2:contents2 1:waitwatch timeout" ] # mkdir, setperm and rm should (also tests watching dirs) [ "`echo -e ''mkdir /dir'' | ./xs_test 2>&1`" = "" ] -[ "`echo -e ''1 watch /dir token 100 +[ "`echo -e ''1 watch /dir token 2 mkdir /dir/newdir 1 waitwatch 1 ackwatch token @@ -29,18 +...
2011 Dec 13
12
[PATCH 0 of 4 V2] oxenstored fixes -- fixes recent pvops kernel hang
Currently PVHVM Linux guests after ddacf5ef684a "xen/pv-on-hvm kexec: add xs_reset_watches to shutdown watches from old kernel" hang when run against oxenstored because it does not handle the unknown XS_RESET_WATCHES operation and does not reply. The symptom of this issue is a hang during boot at this point: cpu 1 spinlock event irq 70 CPU 1 irqstacks, hard=dec94000