Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › ubuntu: folder sharing problems
New Posts  All Forums:Forum Nav:

ubuntu: folder sharing problems - Page 2

post #11 of 13
Quote:
Originally Posted by Pap3r View Post
Wouldn't
Code:
chmod +rw /foo/bar
only grant read/write permissions to the current user, which in this case I believe is root? He'd have to run sudo before it if he were to run it from a normal user, as well as the other commands.
If no parameters are given for who it defaults to everybody (user, group, and other)

All this info is in the man page for chmod btw
Edited by rabidgnome229 - 6/28/08 at 8:19pm
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #12 of 13
Thread Starter 
here's a screenshot of it copying (slowly).
post #13 of 13
Yup chmod +rx would change the mode/permissions from
-rw-r--r--
to
-rwx-r-xr-x

For some its easier to remember the 0-7 codes. For example chmod 0775 foo.

Either way you can look at the manual for a reference.
man chmod
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › ubuntu: folder sharing problems