LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-21-2012, 02:26 AM   #1
y0_gesh
LQ Newbie
 
Registered: Nov 2011
Posts: 11

Rep: Reputation: Disabled
Folder Access Privilege.


i have a file server,a netgear stora tuned,if you know what i mean lol. Everyone have access to it using the same username let set it user, ''A'' and password. A script is used to create folders and sub-folders of year,month and date to store data. An example of the directories structure:

Code:
Backup -> 2012-09 -> 20120921 -> folder A
                              -> folder B
                              -> folder X
These folders are auto created everyday.My concern is ''folder X''. It would have been easier for me if it was on a seperated folder rather than in ''folder backup'' along with folder A and B.

I need to create a new username lets call it user ''B'' and set privilege so that it will be the only to have access to ''folder X'' and am sure i will need a script to make this work but i don't know where to start.
 
Old 09-24-2012, 03:55 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,932

Rep: Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691
Quote:
Originally Posted by y0_gesh View Post
i have a file server,a netgear stora tuned,if you know what i mean lol.
No, we don't know what you mean.
Quote:
Everyone have access to it using the same username let set it user, ''A'' and password. A script is used to create folders and sub-folders of year,month and date to store data. An example of the directories structure:

Code:
Backup -> 2012-09 -> 20120921 -> folder A
                              -> folder B
                              -> folder X
These folders are auto created everyday.My concern is ''folder X''. It would have been easier for me if it was on a seperated folder rather than in ''folder backup'' along with folder A and B. I need to create a new username lets call it user ''B'' and set privilege so that it will be the only to have access to ''folder X'' and am sure i will need a script to make this work but i don't know where to start.
Why don't you know where to start??? You say you've already written a script to take backups....wouldn't THAT be where to start? How about creating a new user on the device first, then modifying the existing script to do what you want??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Privilege Escalation - Getting 'root' privilege Rahil Parikh Linux - Security 2 12-02-2010 02:04 AM
assign user with root privilege and permisssion to access system files eyt Linux - General 6 07-27-2007 01:02 PM
Linux folder privilege issue George2 Linux - Software 2 04-28-2007 12:05 PM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
Why root has no privilege to access some directories ymei Linux - General 4 10-08-2003 09:14 AM


All times are GMT -5. The time now is 01:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration