LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2013, 07:00 PM   #16
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354

Quote:
Originally Posted by chrism01 View Post
[...]normally they'd be able to access the file directly as well...
Code:
$ cd tmp
$ echo xxx > testf
$ cat testf 
xxx
$ chmod -r testf 
$ cat testf 
cat: testf: Permission denied
$ echo yyy > testf
$ cat testf 
cat: testf: Permission denied
$ sudo cat testf
yyy
The point being that a user can have write access to a file without being able to read it.

(They could still delete it, but the context of my remark, above, was the use of a "queue" loop script to execute the commands that write to the file, where the user would only be writing to the queue, not the actual file.)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SETGID and Group READ/WRITE Permission Difference cheersvega Linux - Server 5 09-03-2012 04:57 AM
[SOLVED] Write permission for group in samba share mandyapenguin Linux - Newbie 8 01-19-2012 10:38 AM
Saving a file removes the group execute permission jsteel Linux - Server 1 05-24-2011 04:16 AM
Need to remove Group write permission . pinga123 Linux - Newbie 2 10-22-2010 04:59 AM
vfat partition - write permission for users group digitized_funk Linux - Newbie 8 03-19-2003 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration