
Chmod grrrr
Collapse
X
-
Chmod grrrr
I've spent the last 17 minutes trying to change the permissions of the folder on my Ubuntu Server, and now I gave up L(( I want to make the folder /var/backup to be 777 permissions. I don't know if it matters but my username on my server is michel
Tags: None -
Re: Chmod grrrr
You're aware that you can do this in the GUI, right? Go to the file's properties and tick the right read/write boxes until it shows 777."We have offered them (the Arabs) a sensible way for so many years. But no, they wanted to fight. Fine! We gave them technology, the latest, the kind even Vietnam didn't have. They had double superiority in tanks and aircraft, triple in artillery, and in air defense and anti-tank weapons they had absolute supremacy. And what? Once again they were beaten. Once again they scrammed [sic]. Once again they screamed for us to come save them. Sadat woke me up in the middle of the night twice over the phone, 'Save me!' He demanded to send Soviet troops, and immediately! No! We are not going to fight for them."
-Leonid Brezhnev (On the Yom Kippur War) -
Re: Chmod grrrr
if you're not the owner of that folder, you can't change permissions like you want...
the command is chmod [special][owner][group][others]
So each digit affects rights for particular user or set of users...
4 = read
2 = write
1 = allow execution or parsing the contents of the folder
So if you say 6, that's 4+2 which means allow to read or write in the file, but if the entry is a folder, you can't view the contents (no parsing of contents).
So chmod 777, that means :
owner can write, read and parse contents,
the users in the group the user who created the file/folder is in can read/write/parse folder
everyone can write, read, parse contents
The special is a forth digit which basically says:
4000 (the set-user-ID-on-execution bit) Executable files with this bit set will run with effective uid set to the uid of
the file owner. Directories with the set-user-id bit set will force all files and sub-directories created in them to
be owned by the directory owner and not by the uid of the creating process
2000 (the set-group-ID-on-execution bit) Executable files with this bit set will run with effective gid set to the gid of the file owner.
1000 (the sticky bit) See chmod(2) and sticky(8).
You don't care about those.
--
If you michel are not a root user, you can't change permissions to allow any user to parse the folder or write in it.
You must first use the sudo command to elevate your permissions to the ones of a root user and then you can set whatever permissions you want for that folder.
The whole man page is here: http://www.manpagez.com/man/1/chmod/
Oh... this is probably much better at explaining than me: http://catcode.com/teachmod/Last edited by mariushm; 01-23-2012, 09:55 AM.Comment
-
Re: Chmod grrrr
Install Midnight commander, you'll thank me later....
Midnight Commander is a great file manager similar to Norton Commander from the old DOS days.
Install MC. At the command prompt type:
sudo apt-get mc
To run MC with root privileges, at the command prompt type:
sudo mc
To run MC as a regular user, at the command prompt type:
mc
(Much safer but you won't be able to edit system files)
Comment
-
Re: Chmod grrrr
it should be easier to download filezilla client on a windows box, then SSH into the ubuntu server. it will save you a lot.
mc's okay, but if you're trapped with the CLI, it won't make it much better. you might just be looking for:
Code:sudo chmod -R 777 (directory)
Comment
-
Re: Chmod grrrr
nice. now set up SSH securely, and use filezilla SFTP client. you'll be glad you did. puTTY and filezilla, you'll almost never need to touch your server physically. and while you're at it, make a clonezilla backup of your server, in case something happens.Comment
Related Topics
Collapse
-
i recently bought a new wd re4 2tb with 2014 datecodes. when i got around to testing it tho in victoria hd tester, the write speed was very slow at 14 mb/s with a 256 sector transfer size. when i increased the transfer size to 1024 sectors, the write speed increased slightly to 44 mb/s. read speeds and sector verify speeds were fine and at normal speeds.
so i just ass-u-med the drive's poor performance was due to it being an advanced format drive and i was using it on winxp. when i tried cloning my system disk to this wd re4 2tb drive and writing to it in linux, the write speed...-
Channel: General Computer & Tech Discussion
-
-
by vbogoevHello,
Here I have the mentioned tablet with motherboard s6000-mb-h401. The tablet won't turn on, no display, charging normally. I manage to connect to UART port and got this output when I try to start it:
Code:[PWRAP] pwrap_init_preloader [PWRAP] pwrap_init [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=0 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=1 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=2 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=3 rdata=5AA5 [PMIC_WRAP]wrap_init pass,the return
-
by alphabettyHello first post!
Ok so after an (ASUSTek) optional Windows update, my old ASUS E403NA laptop rebooted and froze in the BIOS menu screen and was unresponsive so after about 30 mins I powered off and back on again. Now i just get a power LED and a black screen, I have tried all the basic suggestions and all the suggestions on the ASUS site, spoke to ASUS support who said I will need to pay for an RMA.
The laptop is worth €50 so I won't be doing the RMA at god knows what price.
So I have seen some videos where people have reprogrammed the BIOS...03-07-2024, 08:31 AM -
by CapThatBrassHi,
I've managed to take an image dump in BIN format of my Dell Latitude 5420, which had a Winbond 25R256JV chip installed.
I used an RT809F programmer to obtain the BIN, using the supplied iFix RT809F programmer application (latest version being 20220830).
The programmer automatically found the settings to read the chip but selected the Winbond W25Q256FV instead (my actual model isn't available on the listing within the software). The image came out fine - I did this multiple times to clarify the data being read was the same each time.
...-
Channel: BIOS Requests ONLY!
-
-
by ndarjo21hi all, i have i2ite written in python by c0d3z3r0. it using for read/write ITE SIO/EC chip via SMBUS. for now, i havent try it because i couldnt buy ft232h in my country. supported device to do this is(based on pyftdi):
FT2232C/D, FT232H, FT2232H, FT4232H, FT4232HA.
i attached the link to the i2ite c0d3z3r0 give to me. anyone here have that device above and can test it for me?02-23-2025, 11:38 PM - Loading...
- No more items.
Comment