Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Annoying Permissions...


  • Please log in to reply
2 replies to this topic

#1 Heretic Monkey

Heretic Monkey

  • Members
  • 1,122 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NCSU
  • Local time:07:27 AM

Posted 16 March 2006 - 12:58 AM

Everytime i try to transfer files from my windows partition to my Ubuntu partition (as a user) i have to manually go into all the files and re-check all the "write" permissions. The REAL annoying part is that i can't just give write-permissions to a folder and have ALL the files inside altered....

I have to go all the way into every sub folder and edit the permissions to give me the ability to write to the files.

Is there a way to give every file in a folder the same permissions without having to change them all individually (and individually, i mean mass-selecting files themselves. Why can't i just give the permissions to the folder and have them applied to every file/sub-folder contained within?

BC AdBot (Login to Remove)

 


#2 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:06:27 AM

Posted 16 March 2006 - 06:58 PM

Why can't i just give the permissions to the folder and have them applied to every file/sub-folder contained within?

Because it's a security issue.
From a command line you can:
chmod -R 744 <dir name>
(optionally you can cd into the dir and):
chmod 644 *
Also check your "umask" this tells newly created files which permissions to have.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#3 Heretic Monkey

Heretic Monkey
  • Topic Starter

  • Members
  • 1,122 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NCSU
  • Local time:07:27 AM

Posted 17 March 2006 - 09:56 AM

Cool, thanx, i'll give it a try (once i get my Ubuntu working again, that is.... i should've have played around with the graphix drivers. ATI and linux are not friends.....)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users