[Novalug] How to change a file's permission question

Peter Larsen plarsen@famlarsen.homelinux.com
Tue Aug 28 11:56:07 EDT 2012


*hits head on table*
chacl was the command .....

getfacl and setfacl is where I wanted to go. Not sure where my mind
was .....


On Tue, 2012-08-28 at 11:54 -0400, Peter Larsen wrote: 
> On Thu, 2012-08-23 at 20:41 -0400, James Ewing Cottrell 3rd wrote: 
> > On 8/20/2012 11:12 AM, John Place wrote:
> > > chmod 646 SomeFile
> > >
> > > which would make that file editable by the ower and all others that are
> > > NOT in the group of the file...
> > 
> > Almost Correct. Be aware that if a File is Readable and the Directory is 
> > Writable, that one can simply read the file, delete it, and write 
> > another copy.
> > 
> > Various editors will go to different lengths to get the job done. 
> > Depending on the settings, emacs will mv the original file to a backup, 
> > and write an entirely new version of the file.
> > 
> > If that happens, the owner will change.
> > 
> > > Unique permission set, some times it was
> > 
> > One technique I heard about was putting Troublemakers in their own 
> > group, using that group on various System Files and Directories, and 
> > chmod g-a the appropriate files and directories.
> 
> ACL *COUGH*
> 
> man lsattr
> man chattr
> 
> It's a mystery to me why this has never really become mainstream on
> linux.
> 
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug


-- 
Best Regards
  Peter Larsen

Wise words of the day:
The only other people who might benefit from Linux8086 would be owners
of PDP/11's and other roomsized computers from the same era.
	-- Alan Cox
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20120828/72b2f9a6/attachment.asc>


More information about the Novalug mailing list