473,388 Members | 904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

How to change file permissions using java

Hi i wanted to know if there is a java API for changing file permissions for a file on linux OS
Aug 17 '07 #1
6 9947
JosAH
11,448 Expert 8TB
Hi i wanted to know if there is a java API for changing file permissions for a file on linux OS
I bet you haven't read the API docs for the File class.

kind regards,

Jos
Aug 17 '07 #2
I bet you haven't read the API docs for the File class.

kind regards,

Jos
Which file API are you taking about i want to change owner and group permissions of a file
Aug 21 '07 #3
r035198x
13,262 8TB
Which file API are you taking about i want to change owner and group permissions of a file
Google would have easily given you want you're looking for. Just search for File.java

The Java articles index also has a link to the API docs. Bookmark it.
Aug 21 '07 #4
JosAH
11,448 Expert 8TB
Which file API are you taking about i want to change owner and group permissions of a file
Ahem, second attempt: have you read the API documentation for the File class?
Hint: pay special attention to the class name in boldface.

kind regards,

Jos
Aug 21 '07 #5
r035198x
13,262 8TB
Ahem, second attempt: have you read the API documentation for the File class?
Hint: pay special attention to the class name in boldface.

kind regards,

Jos
We should have audio streaming software here. Then people don't have to read what's posted.
Aug 21 '07 #6
JosAH
11,448 Expert 8TB
We should have audio streaming software here. Then people don't have to read what's posted.
You're being too optimistic again: you're assuming that they can *listen* ;-)

kind regards,

Jos
Aug 21 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: vikashskumar | last post by:
Hello everone, I am stuck in determining whether a file does not exist or does not have enough permissions so that access to this file is denied?". I am using java.io.File.exists() or...
1
by: Dave Lambert | last post by:
Hi, hope someone can help, I would like to change permissions on a folder and wondered if it is possible as part of an automated install, the reason being we have created an install for an asp.net...
3
by: Peter | last post by:
Hello, Two newbie questions: 1) I have a javascript file with a function in it. From this function I want to access a variable in another javascript file -which is not inside a function. I...
6
by: jonathanmcdougall | last post by:
I have read many posts on this subject and found no satisfying answer. I am creating a file on the server via a PHP script. The file is created using GD (imagejpeg()), though I don't think it is...
5
by: Peter Verhelst | last post by:
Hello, Currently I am running an Access database on a windows WTS server, running Microsoft Windows 2000 server 5.00.2195 Service Pack 3. This database should be accessible for everybody in our...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
2
by: Tim Murray | last post by:
First of all, I don't know much about Java, even its naming and version numbering nomenclature, and second, if there is a better group to ask this in, please let me know. System is Mac with...
1
by: Aek | last post by:
What is the best way to recursively change the permissions of the directory we are installing into? Is there a nice way to do this in C# ..NET? We are using an MSI installer and will need to add...
1
by: Fredo | last post by:
I know very little about java and javascript, and I'm not really sure if this is a java or javascript issue. I'm trying to run an app call jmol in a local browser. jmol is activated by a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.